summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-11-02 12:40:38 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-11-02 12:40:38 -0500
commitd5ff9af94e7f044c86eb9aafffdbd2d00c5fb048 (patch)
tree16810c020723079257ef1118f2a8fc9357804532 /gtk/gtktextview.c
parentf2434e7cea0c5194f03c9ca4e357bec4a4f1bc6e (diff)
downloadgtk+-d5ff9af94e7f044c86eb9aafffdbd2d00c5fb048.tar.gz
entry, textview: Use a dedicated style class for magnifier
This will free up "osd" as an application-level style class, and lets us style magnifiers differently.
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r--gtk/gtktextview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 86c28f3093..719096fb16 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -1759,7 +1759,7 @@ _gtk_text_view_ensure_magnifier (GtkTextView *text_view)
_gtk_magnifier_set_magnification (GTK_MAGNIFIER (priv->magnifier), 2.0);
priv->magnifier_popover = gtk_popover_new (GTK_WIDGET (text_view));
gtk_style_context_add_class (gtk_widget_get_style_context (priv->magnifier_popover),
- GTK_STYLE_CLASS_OSD);
+ "magnifier");
gtk_popover_set_modal (GTK_POPOVER (priv->magnifier_popover), FALSE);
gtk_container_add (GTK_CONTAINER (priv->magnifier_popover),
priv->magnifier);