[gtk+/rendering-cleanup-next: 79/155] tearoffmenuitem: Don't clear the window, it should be clear already



commit 8a14a5490f3d3fca3aab939d543059cecdd6a30e
Author: Benjamin Otte <otte redhat com>
Date:   Tue Sep 7 22:45:21 2010 +0200

    tearoffmenuitem: Don't clear the window, it should be clear already

 gtk/gtktearoffmenuitem.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktearoffmenuitem.c b/gtk/gtktearoffmenuitem.c
index c590d25..2ad04f3 100644
--- a/gtk/gtktearoffmenuitem.c
+++ b/gtk/gtktearoffmenuitem.c
@@ -161,8 +161,6 @@ gtk_tearoff_menu_item_expose (GtkWidget      *widget,
 			 &event->area, widget, "menuitem",
 			 x, y, width, height);
 	}
-      else
-	gdk_window_clear_area (window, area->x, area->y, area->width, area->height);
 
       parent = gtk_widget_get_parent (widget);
       if (GTK_IS_MENU (parent) && GTK_MENU (parent)->torn_off)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]