[gtk+/rendering-cleanup-next: 79/199] tearoffmenuitem: Don't clear the window, it should be clear already
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup-next: 79/199] tearoffmenuitem: Don't clear the window, it should be clear already
- Date: Thu, 23 Sep 2010 21:25:44 +0000 (UTC)
commit 2452f55863a4a1350aa34b95724b3d1c975e1732
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]