forked from AuroraMiddleware/gtk
popover: Use gtk_widget_add_css_class
This commit is contained in:
parent
547842e7f0
commit
76f2396764
@ -870,8 +870,7 @@ gtk_popover_init (GtkPopover *popover)
|
||||
gtk_widget_set_layout_manager (priv->contents_widget, gtk_bin_layout_new ());
|
||||
gtk_widget_set_parent (priv->contents_widget, GTK_WIDGET (popover));
|
||||
|
||||
gtk_css_node_add_class (gtk_widget_get_css_node (GTK_WIDGET (popover)),
|
||||
g_quark_from_static_string (GTK_STYLE_CLASS_BACKGROUND));
|
||||
gtk_widget_add_css_class (widget, "background");
|
||||
|
||||
add_actions (popover);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user