forked from AuroraMiddleware/gtk
Hide popovers and toplevels by default
This commit is contained in:
parent
fee788cd4a
commit
33d41fccdd
@ -220,6 +220,8 @@ gtk_popover_init (GtkPopover *popover)
|
||||
|
||||
context = gtk_widget_get_style_context (GTK_WIDGET (popover));
|
||||
gtk_style_context_add_class (context, GTK_STYLE_CLASS_BACKGROUND);
|
||||
|
||||
gtk_widget_hide (widget);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1714,6 +1714,9 @@ gtk_window_init (GtkWindow *window)
|
||||
GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_DROP,
|
||||
dnd_dest_targets, G_N_ELEMENTS (dnd_dest_targets),
|
||||
GDK_ACTION_MOVE);
|
||||
|
||||
|
||||
gtk_widget_hide (GTK_WIDGET (window));
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user