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/gtktexthandle.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/gtktexthandle.c')
-rw-r--r-- | gtk/gtktexthandle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtktexthandle.c b/gtk/gtktexthandle.c index a4d86bbe24..c22a928731 100644 --- a/gtk/gtktexthandle.c +++ b/gtk/gtktexthandle.c @@ -221,12 +221,12 @@ _gtk_text_handle_ensure_widget (GtkTextHandle *handle, if (pos == GTK_TEXT_HANDLE_POSITION_SELECTION_END) { - gtk_widget_add_style_class (widget, GTK_STYLE_CLASS_BOTTOM); + gtk_widget_add_css_class (widget, GTK_STYLE_CLASS_BOTTOM); if (priv->mode == GTK_TEXT_HANDLE_MODE_CURSOR) - gtk_widget_add_style_class (widget, GTK_STYLE_CLASS_INSERTION_CURSOR); + gtk_widget_add_css_class (widget, GTK_STYLE_CLASS_INSERTION_CURSOR); } else - gtk_widget_add_style_class (widget, GTK_STYLE_CLASS_TOP); + gtk_widget_add_css_class (widget, GTK_STYLE_CLASS_TOP); } return priv->windows[pos].widget; |