free display->input_windows with g_free(), not g_object_unref() (#357566,

2006-09-25  Michael Natterer  <mitch@imendio.com>

	* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
	display->input_windows with g_free(), not g_object_unref()
	(#357566, Tommi Komulainen).
This commit is contained in:
Michael Natterer 2006-09-25 09:58:20 +00:00 committed by Michael Natterer
parent 7dbaf7ef5c
commit e049989bc3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2006-09-25 Michael Natterer <mitch@imendio.com>
* gdk/x11/gdkdisplay-x11.c (gdk_display_x11_finalize): free
display->input_windows with g_free(), not g_object_unref()
(#357566, Tommi Komulainen).
2006-09-24 Kristian Rietveld <kris@gtk.org>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),

View File

@ -785,7 +785,7 @@ gdk_display_x11_finalize (GObject *object)
g_list_free (display_x11->input_devices);
/* input GdkWindow list */
g_list_foreach (display_x11->input_windows, (GFunc) g_object_unref, NULL);
g_list_foreach (display_x11->input_windows, (GFunc) g_free, NULL);
g_list_free (display_x11->input_windows);
/* Free all GdkScreens */