summaryrefslogtreecommitdiff
path: root/gtk/gtkcolorchooserwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkcolorchooserwidget.c')
-rw-r--r--gtk/gtkcolorchooserwidget.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkcolorchooserwidget.c b/gtk/gtkcolorchooserwidget.c
index 114a3db522..087e8df056 100644
--- a/gtk/gtkcolorchooserwidget.c
+++ b/gtk/gtkcolorchooserwidget.c
@@ -336,18 +336,18 @@ add_palette (GtkColorChooserWidget *cc,
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{
if (pos == left)
- gtk_widget_add_css_class (p, GTK_STYLE_CLASS_LEFT);
+ gtk_widget_add_css_class (p, "left");
else if (pos == right)
- gtk_widget_add_css_class (p, GTK_STYLE_CLASS_RIGHT);
+ gtk_widget_add_css_class (p, "right");
gtk_grid_attach (GTK_GRID (grid), p, pos, line, 1, 1);
}
else
{
if (pos == 0)
- gtk_widget_add_css_class (p, GTK_STYLE_CLASS_TOP);
+ gtk_widget_add_css_class (p, "top");
else if (pos == colors_per_line - 1)
- gtk_widget_add_css_class (p, GTK_STYLE_CLASS_BOTTOM);
+ gtk_widget_add_css_class (p, "bottom");
gtk_grid_attach (GTK_GRID (grid), p, line, pos, 1, 1);
}