summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@src.gnome.org>2002-10-05 22:36:36 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-10-05 22:36:36 +0000
commit7e924e4aa31f54b965565a76d3e71d2789e4ee9f (patch)
treed88f6f0a2d0a63f5f77ac2d60638bfb9c8e1f242 /gtk
parent021ef9d0a459a5b84f42328065f1025b79711d86 (diff)
downloadgtk+-7e924e4aa31f54b965565a76d3e71d2789e4ee9f.tar.gz
at Oct 5 18:25:11 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_draw_tab): Fix &expose_event vs expose_event problem (#94898, reported by Jon-Kare Hellan)
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtknotebook.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index ddcbe486e6..663f7cba33 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -2787,10 +2787,9 @@ gtk_notebook_draw_tab (GtkNotebook *notebook,
expose_event->expose.area = child_area;
expose_event->expose.region = gdk_region_rectangle (&child_area);
expose_event->expose.send_event = TRUE;
- expose_event->expose.type = GDK_EXPOSE;
expose_event->expose.count = 0;
- gtk_container_propagate_expose (GTK_CONTAINER (notebook), page->tab_label, (GdkEventExpose *)&expose_event);
+ gtk_container_propagate_expose (GTK_CONTAINER (notebook), page->tab_label, (GdkEventExpose *)expose_event);
gdk_event_free (expose_event);
}