summaryrefslogtreecommitdiff
path: root/gtk/gtkviewport.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2005-01-04 16:39:56 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2005-01-04 16:39:56 +0000
commitcfeab5787d127e4ea39db0ba82a31b93215e0b51 (patch)
tree03e66282766f096e49ccc5a7bf5d7215b5747aad /gtk/gtkviewport.c
parentac713f2d0726e6f02adf2f6b89ab465f48775d47 (diff)
downloadgdk-pixbuf-cfeab5787d127e4ea39db0ba82a31b93215e0b51.tar.gz
Bug 162112.
Tue Jan 4 11:36:43 2005 Søren Sandmann <sandmann@redhat.com> Bug 162112. * gtk/gtktextview.c (text_window_realize): Add GDK_EXPOSURE_MASK to win->window's event_mask * gtk/gtkviewport.c (gtk_viewport_realize): Add GDK_EXPOSURE_MASK to viewport->view_window.
Diffstat (limited to 'gtk/gtkviewport.c')
-rw-r--r--gtk/gtkviewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkviewport.c b/gtk/gtkviewport.c
index 1e964584a..a5c0a232b 100644
--- a/gtk/gtkviewport.c
+++ b/gtk/gtkviewport.c
@@ -621,7 +621,7 @@ gtk_viewport_realize (GtkWidget *widget)
attributes.y = view_allocation.y;
attributes.width = view_allocation.width;
attributes.height = view_allocation.height;
- attributes.event_mask = 0;
+ attributes.event_mask = GDK_EXPOSURE_MASK;
viewport->view_window = gdk_window_new (widget->window, &attributes, attributes_mask);
gdk_window_set_user_data (viewport->view_window, viewport);