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:57:01 +00:00
committed by Michael Natterer
parent a9dcd9f0a9
commit 5956de6e07
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-23 Tor Lillqvist <tml@novell.com>
* gtk/Makefile.am: Use EXEEXT.

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 */