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/gtksearchbar.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/gtksearchbar.c')
-rw-r--r-- | gtk/gtksearchbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c index 1338b3e625..d69e941476 100644 --- a/gtk/gtksearchbar.c +++ b/gtk/gtksearchbar.c @@ -351,7 +351,7 @@ gtk_search_bar_init (GtkSearchBar *bar) gtk_widget_set_hexpand (priv->box_center, TRUE); priv->close_button = gtk_button_new_from_icon_name ("window-close-symbolic"); - gtk_widget_add_style_class (priv->close_button, "close"); + gtk_widget_add_css_class (priv->close_button, "close"); gtk_center_box_set_end_widget (GTK_CENTER_BOX (priv->box_center), priv->close_button); gtk_widget_hide (priv->close_button); |