]> git.eshelyaron.com Git - emacs.git/commitdiff
* gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 18 Mar 2003 22:09:06 +0000 (22:09 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 18 Mar 2003 22:09:06 +0000 (22:09 +0000)
    all widgets.

src/ChangeLog
src/gtkutil.c

index dd1daeccbf9656cea9407bb3651fb526708ebb87..8b637f5ce524336f943e6a44bd37b47cf9702c94 100644 (file)
@@ -1,5 +1,8 @@
 2003-03-18  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
 
+       * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for
+       all widgets.
+
        * gtkutil.h: Removed xg_ignore_next_thumb.
 
 2003-03-18  Kenichi Handa  <handa@etlken2>
index a95be3eb40d4002065063b59bb4b4a525f93d9bf..61e797493541e724009bf9f569b1f29efba9494b 100644 (file)
@@ -293,11 +293,14 @@ void
 xg_frame_cleared (f)
      FRAME_PTR f;
 {
-  GtkWidget *wfixed = f->output_data.x->edit_widget;
+  GtkWidget *w = f->output_data.x->widget;
 
-  if (wfixed)
+  if (w)
     {
-      gtk_container_set_reallocate_redraws (GTK_CONTAINER (wfixed), TRUE);
+      gtk_container_set_reallocate_redraws (GTK_CONTAINER (w), TRUE);
+      gtk_container_foreach (GTK_CONTAINER (w),
+                             (GtkCallback) gtk_widget_queue_draw,
+                             0);
       gdk_window_process_all_updates ();
     }
 }