diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-05-19 11:05:28 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-05-19 11:06:51 -0400 |
commit | 61701493936ff96a52f09992847221327f26718f (patch) | |
tree | 1ca115c6bbd463d88c62a0fbd7beb4efe6f7ca88 | |
parent | ee841a282b287512cc783f2bf58e447ae80058ae (diff) | |
download | gtk+-61701493936ff96a52f09992847221327f26718f.tar.gz |
color scale: Sync style classes with GtkScale
We should use the same style classes here, to avoid theme
confusion.
-rw-r--r-- | gtk/gtkcoloreditor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c index 6e37fce63a..f45949c999 100644 --- a/gtk/gtkcoloreditor.c +++ b/gtk/gtkcoloreditor.c @@ -373,10 +373,10 @@ gtk_color_editor_init (GtkColorEditor *editor) if (gtk_widget_get_direction (editor->priv->h_slider) == GTK_TEXT_DIR_RTL) gtk_style_context_add_class (gtk_widget_get_style_context (editor->priv->h_slider), - GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE); + "marks-before"); else gtk_style_context_add_class (gtk_widget_get_style_context (editor->priv->h_slider), - GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW); + "marks-after"); /* Create the scaled popup adjustments manually here because connecting user data is not * supported by template GtkBuilder xml (it would be possible to set this up in the xml |