mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
popover: Do not set GTK_STYLE_CLASS_OSD directly
That's up to the caller, popovers are by design not only meant to have that role.
This commit is contained in:
parent
462e7f0de1
commit
649004ce43
@ -90,8 +90,6 @@ gtk_popover_init (GtkPopover *popover)
|
||||
widget = GTK_WIDGET (popover);
|
||||
gtk_widget_set_has_window (widget, TRUE);
|
||||
popover->priv = priv = gtk_popover_get_instance_private (popover);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (widget),
|
||||
GTK_STYLE_CLASS_OSD);
|
||||
priv->modal = TRUE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user