From 61701493936ff96a52f09992847221327f26718f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 19 May 2016 11:05:28 -0400 Subject: color scale: Sync style classes with GtkScale We should use the same style classes here, to avoid theme confusion. --- gtk/gtkcoloreditor.c | 4 ++-- 1 file 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 -- cgit v1.2.1