inspector: Avoid a use of gtk_style_context_add_class

We have gtk_widget_add_css_class for this now.
This commit is contained in:
Matthias Clasen 2020-06-30 17:10:05 -04:00
parent 613213f597
commit cc072eb7cd

View File

@ -408,7 +408,7 @@ bind_value_cb (GtkSignalListItemFactory *factory,
widget = gtk_inspector_prop_editor_new (object, name, NULL);
g_signal_connect (widget, "show-object", G_CALLBACK (show_object), data);
gtk_list_item_set_child (list_item, widget);
gtk_style_context_add_class (gtk_widget_get_style_context (widget), "cell");
gtk_widget_add_css_class (widget, "cell");
}
static void