diff options
author | Timm Bäder <mail@baedert.org> | 2020-02-06 17:32:26 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-07 13:16:45 -0500 |
commit | 655711fef29570254477864e25f0719a7762b2a7 (patch) | |
tree | a3ab0f243d95840149f98bfaf58371020604d96c /gtk/gtkshortcutlabel.c | |
parent | 69fa15981c1c8f44ea285c7928a89450cd842d83 (diff) | |
download | gtk+-655711fef29570254477864e25f0719a7762b2a7.tar.gz |
Rename gtk_widget{get,set,has}_style_class to _css_class
We want to use css instead of style everywhere now.
Diffstat (limited to 'gtk/gtkshortcutlabel.c')
-rw-r--r-- | gtk/gtkshortcutlabel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkshortcutlabel.c b/gtk/gtkshortcutlabel.c index 9dc6355333..55ca247589 100644 --- a/gtk/gtkshortcutlabel.c +++ b/gtk/gtkshortcutlabel.c @@ -258,7 +258,7 @@ dim_label (const gchar *text) GtkWidget *label; label = gtk_label_new (text); - gtk_widget_add_style_class (label, "dim-label"); + gtk_widget_add_css_class (label, "dim-label"); return label; } @@ -284,7 +284,7 @@ display_shortcut (GtkWidget *self, if (i < n_mods) gtk_widget_set_size_request (disp, 50, -1); - gtk_widget_add_style_class (disp, "keycap"); + gtk_widget_add_css_class (disp, "keycap"); gtk_label_set_use_markup (GTK_LABEL (disp), TRUE); gtk_widget_set_parent (disp, self); |