mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
Fix an oversight
We must set the construct-only "type" to GTK_WINDOW_POPUP, otherwise this ends upo being a regular toplevel.
This commit is contained in:
parent
6f6e536543
commit
534f537a3c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user