event->any.window might be NULL. Use gtk_widget_get_display (widget)

Mon Jan 27 16:19:59 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
        might be NULL. Use gtk_widget_get_display (widget)
        (#102860, Thomas Leonard)
This commit is contained in:
Owen Taylor 2003-01-27 21:22:16 +00:00 committed by Owen Taylor
parent f232684535
commit b6913de5e9
6 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Mon Jan 27 16:19:59 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
might be NULL. Use gtk_widget_get_display (widget)
(#102860, Thomas Leonard)
Mon Jan 27 15:58:31 2003 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix --without-modules/--disable-modules

View File

@ -1,3 +1,9 @@
Mon Jan 27 16:19:59 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
might be NULL. Use gtk_widget_get_display (widget)
(#102860, Thomas Leonard)
Mon Jan 27 15:58:31 2003 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix --without-modules/--disable-modules

View File

@ -1,3 +1,9 @@
Mon Jan 27 16:19:59 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
might be NULL. Use gtk_widget_get_display (widget)
(#102860, Thomas Leonard)
Mon Jan 27 15:58:31 2003 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix --without-modules/--disable-modules

View File

@ -1,3 +1,9 @@
Mon Jan 27 16:19:59 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
might be NULL. Use gtk_widget_get_display (widget)
(#102860, Thomas Leonard)
Mon Jan 27 15:58:31 2003 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix --without-modules/--disable-modules

View File

@ -1,3 +1,9 @@
Mon Jan 27 16:19:59 2003 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
might be NULL. Use gtk_widget_get_display (widget)
(#102860, Thomas Leonard)
Mon Jan 27 15:58:31 2003 Owen Taylor <otaylor@redhat.com>
* configure.in: Fix --without-modules/--disable-modules

View File

@ -1229,7 +1229,7 @@ gtk_socket_filter_func (GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
socket = GTK_SOCKET (data);
widget = GTK_WIDGET (socket);
xevent = (XEvent *)gdk_xevent;
display = gdk_drawable_get_display (event->any.window);
display = gtk_widget_get_display (widget);
return_val = GDK_FILTER_CONTINUE;