summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2006-09-25 09:58:20 +0000
committerMichael Natterer <mitch@src.gnome.org>2006-09-25 09:58:20 +0000
commite049989bc3e6fa419da48259caacb38c088413cf (patch)
tree5566ae9fe953289e9c0e2594064cf1c0ffb9b2d1
parent7dbaf7ef5caaeae6306037e086088d7de4e0f026 (diff)
downloadgtk+-e049989bc3e6fa419da48259caacb38c088413cf.tar.gz
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).
-rw-r--r--ChangeLog6
-rw-r--r--gdk/x11/gdkdisplay-x11.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a690c3c013..b35671aa96 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
index 1a1c54ddff..fd48807f50 100644
--- a/gdk/x11/gdkdisplay-x11.c
+++ b/gdk/x11/gdkdisplay-x11.c
@@ -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 */