Bug 559622 – GdkDevice test segfaults
2008-11-30 Christian Dywan <christian@imendio.com> Bug 559622 – GdkDevice test segfaults * gdk/x11/gdkdisplay-x11.c (gdk_display_x11_dispose): * gdk/x11/gdkinput.c (gdk_device_class_init), (gdk_device_dispose): Free and reset device in dispose. Patch by Michael Natterer and myself. svn path=/trunk/; revision=21834
This commit is contained in:
committed by
Christian Dywan
parent
e0ce091631
commit
d494aa7203
@ -798,6 +798,8 @@ gdk_display_x11_dispose (GObject *object)
|
||||
GdkDisplayX11 *display_x11 = GDK_DISPLAY_X11 (object);
|
||||
gint i;
|
||||
|
||||
g_list_foreach (display_x11->input_devices, (GFunc) g_object_run_dispose, NULL);
|
||||
|
||||
for (i = 0; i < ScreenCount (display_x11->xdisplay); i++)
|
||||
_gdk_screen_close (display_x11->screens[i]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user