[gtk+] 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+] tearoffmenuitem: Don't clear the window, it should be clear already
- Date: Sun, 26 Sep 2010 13:38:03 +0000 (UTC)
commit 557b9d0b26466026aafe20b9ce46cb2d56b592ee
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]