summaryrefslogtreecommitdiff
path: root/gtk/gtktogglebutton.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2020-02-06 17:32:26 +0100
committerMatthias Clasen <mclasen@redhat.com>2020-02-07 13:16:45 -0500
commit655711fef29570254477864e25f0719a7762b2a7 (patch)
treea3ab0f243d95840149f98bfaf58371020604d96c /gtk/gtktogglebutton.c
parent69fa15981c1c8f44ea285c7928a89450cd842d83 (diff)
downloadgtk+-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/gtktogglebutton.c')
-rw-r--r--gtk/gtktogglebutton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktogglebutton.c b/gtk/gtktogglebutton.c
index 1f2f6cc09a..78c416bf3a 100644
--- a/gtk/gtktogglebutton.c
+++ b/gtk/gtktogglebutton.c
@@ -192,7 +192,7 @@ gtk_toggle_button_init (GtkToggleButton *toggle_button)
priv->active = FALSE;
- gtk_widget_add_style_class (GTK_WIDGET (toggle_button), "toggle");
+ gtk_widget_add_css_class (GTK_WIDGET (toggle_button), "toggle");
}