diff options
author | Soeren Sandmann <sandmann@daimi.au.dk> | 2002-10-04 19:46:36 +0000 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@src.gnome.org> | 2002-10-04 19:46:36 +0000 |
commit | d2aa626845d04b5270c3e088f104f847c4e9251d (patch) | |
tree | b01b16eb119aab572c5c383d606d2575dff05fe4 /gtk/gtkmenuitem.c | |
parent | fd83bdbadbebad18a8824887d9678740a8187b84 (diff) | |
download | gdk-pixbuf-d2aa626845d04b5270c3e088f104f847c4e9251d.tar.gz |
remove unused codepath.
Fri Oct 4 21:21:47 2002 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkhandlebox.c (gtk_handle_box_paint): remove unused
codepath.
* gtk/gtkmenuitem.c (gtk_real_menu_item_{de,}select): call
gtk_widget_queue_draw() instead of gtk_widget_draw().
Diffstat (limited to 'gtk/gtkmenuitem.c')
-rw-r--r-- | gtk/gtkmenuitem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkmenuitem.c b/gtk/gtkmenuitem.c index 908ba4790..0589ba18b 100644 --- a/gtk/gtkmenuitem.c +++ b/gtk/gtkmenuitem.c @@ -724,7 +724,7 @@ gtk_real_menu_item_select (GtkItem *item) } gtk_widget_set_state (GTK_WIDGET (menu_item), GTK_STATE_PRELIGHT); - gtk_widget_draw (GTK_WIDGET (menu_item), NULL); + gtk_widget_queue_draw (GTK_WIDGET (menu_item)); } static void @@ -757,7 +757,7 @@ gtk_real_menu_item_deselect (GtkItem *item) } gtk_widget_set_state (GTK_WIDGET (menu_item), GTK_STATE_NORMAL); - gtk_widget_draw (GTK_WIDGET (menu_item), NULL); + gtk_widget_queue_draw (GTK_WIDGET (menu_item)); } static gboolean |