[Xfce4-commits] <xfce4-panel:master> Do not double-expose the window child (bug #6872).

Nick Schermer noreply at xfce.org
Thu Nov 25 18:16:01 CET 2010


Updating branch refs/heads/master
         to 5db5434fe4bdf0e849238044bb29a3bf24d8c1f4 (commit)
       from 4944e43d70e8e3724d2a1490d757845ac70108ff (commit)

commit 5db5434fe4bdf0e849238044bb29a3bf24d8c1f4
Author: Nick Schermer <nick at xfce.org>
Date:   Thu Nov 25 18:14:27 2010 +0100

    Do not double-expose the window child (bug #6872).

 panel/panel-window.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index d99a4d7..b853cbf 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -696,7 +696,6 @@ panel_window_expose_event (GtkWidget      *widget,
   gint          xs, xe, ys, ye;
   gint          handle_w, handle_h;
   gdouble       alpha = 1.00;
-  GtkWidget    *child;
 
   /* expose the background and borders handled in PanelBaseWindow */
   (*GTK_WIDGET_CLASS (panel_window_parent_class)->expose_event) (widget, event);
@@ -771,11 +770,6 @@ panel_window_expose_event (GtkWidget      *widget,
   cairo_destroy (cr);
 
 end:
-  /* send the expose event to the child */
-  child = gtk_bin_get_child (GTK_BIN (widget));
-  if (G_LIKELY (child != NULL))
-    gtk_container_propagate_expose (GTK_CONTAINER (widget), child, event);
-
   return FALSE;
 }
 



More information about the Xfce4-commits mailing list