diff options
author | William Jon McCann <jmccann@redhat.com> | 2012-09-12 16:43:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-09-16 21:36:18 -0400 |
commit | 92ddf14457d0fef9098efb2105a9ee43c77f4e5a (patch) | |
tree | b6f0e1e319ad5db41ed5943f03b8e1027804b9b5 /gtk/gtktooltip.c | |
parent | 9bd408a58f09ba12203a94d3dc34dceec4e2d7e2 (diff) | |
download | gtk+-92ddf14457d0fef9098efb2105a9ee43c77f4e5a.tar.gz |
Don't leak a ref to the tooltip window
https://bugzilla.gnome.org/show_bug.cgi?id=683896
Diffstat (limited to 'gtk/gtktooltip.c')
-rw-r--r-- | gtk/gtktooltip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktooltip.c b/gtk/gtktooltip.c index eaf94b8dd1..b4e0c954b7 100644 --- a/gtk/gtktooltip.c +++ b/gtk/gtktooltip.c @@ -206,7 +206,7 @@ gtk_tooltip_init (GtkTooltip *tooltip) tooltip->last_window = NULL; - window = g_object_ref (gtk_window_new (GTK_WINDOW_POPUP)); + window = gtk_window_new (GTK_WINDOW_POPUP); screen = gtk_widget_get_screen (window); visual = gdk_screen_get_rgba_visual (screen); |