diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c index 24f57d1c3c..98c22c38ed 100644 --- a/gtk/gtkscale.c +++ b/gtk/gtkscale.c @@ -1628,7 +1628,7 @@ gtk_scale_add_mark (GtkScale *scale, gtk_css_node_set_name (priv->top_marks_node, I_("marks")); gtk_css_node_insert_before (widget_node, priv->top_marks_node, gtk_range_get_trough_node (GTK_RANGE (scale))); gtk_css_node_set_parent (priv->top_marks_node, widget_node); - gtk_css_node_add_class (priv->top_marks_node, g_quark_from_static_string ("top")); + gtk_css_node_add_class (priv->top_marks_node, g_quark_from_static_string (GTK_STYLE_CLASS_TOP)); gtk_css_node_set_state (priv->top_marks_node, gtk_css_node_get_state (widget_node)); g_object_unref (priv->top_marks_node); } @@ -1642,7 +1642,7 @@ gtk_scale_add_mark (GtkScale *scale, priv->bottom_marks_node = gtk_css_node_new (); gtk_css_node_set_name (priv->bottom_marks_node, I_("marks")); gtk_css_node_insert_after (widget_node, priv->bottom_marks_node, gtk_range_get_trough_node (GTK_RANGE (scale))); - gtk_css_node_add_class (priv->bottom_marks_node, g_quark_from_static_string ("bottom")); + gtk_css_node_add_class (priv->bottom_marks_node, g_quark_from_static_string (GTK_STYLE_CLASS_BOTTOM)); gtk_css_node_set_state (priv->bottom_marks_node, gtk_css_node_get_state (widget_node)); g_object_unref (priv->bottom_marks_node); }