don't unref tooltip_window, since this is handled by set_qdata_full()

2007-03-28  Kristian Rietveld  <kris@imendio.com>

	* gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
	tooltip_window, since this is handled by set_qdata_full() already.
	(#412001, Torsten Schoenfeld).


svn path=/trunk/; revision=17566
This commit is contained in:
Kristian Rietveld 2007-03-28 10:00:31 +00:00 committed by Kristian Rietveld
parent 800c1392c0
commit 1e2e601e5c
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2007-03-28 Kristian Rietveld <kris@imendio.com>
* gtk/gtkwidget.c (gtk_widget_set_tooltip_window): don't unref
tooltip_window, since this is handled by set_qdata_full() already.
(#412001, Torsten Schoenfeld).
2007-03-27 Tor Lillqvist <tml@novell.com>
* modules/input/Makefile.am: Use LDADDS for im-multipress.la, too:

View File

@ -8481,9 +8481,6 @@ gtk_widget_set_tooltip_window (GtkWidget *widget,
if (custom_window)
g_object_ref (custom_window);
if (tooltip_window)
g_object_unref (tooltip_window);
tooltip_window = custom_window;
g_object_set_qdata_full (G_OBJECT (widget), quark_tooltip_window,
tooltip_window, g_object_unref);