diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-11-10 06:34:15 -0500 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2015-11-10 13:23:18 +0000 |
commit | 534f537a3c1ac3c4cce25682c27174f538e6390d (patch) | |
tree | a8554990638b1f08f1c2de0c490cfe3c0bc972b9 /gtk/gtktooltipwindow.c | |
parent | 6f6e5365432050cde71550a09e3cce0f6a55c1d5 (diff) | |
download | gtk+-534f537a3c1ac3c4cce25682c27174f538e6390d.tar.gz |
Fix an oversight
We must set the construct-only "type" to GTK_WINDOW_POPUP, otherwise
this ends upo being a regular toplevel.
Diffstat (limited to 'gtk/gtktooltipwindow.c')
-rw-r--r-- | gtk/gtktooltipwindow.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtktooltipwindow.c b/gtk/gtktooltipwindow.c index ba71113c2a..cb7cb53fc9 100644 --- a/gtk/gtktooltipwindow.c +++ b/gtk/gtktooltipwindow.c @@ -99,7 +99,9 @@ gtk_tooltip_window_init (GtkTooltipWindow *self) GtkWidget * gtk_tooltip_window_new (void) { - return g_object_new (GTK_TYPE_TOOLTIP_WINDOW, NULL); + return g_object_new (GTK_TYPE_TOOLTIP_WINDOW, + "type", GTK_WINDOW_POPUP, + NULL); } void |