From: Alexander Mikhaylenko Date: Wed, 11 May 2022 22:21:34 +0000 (+0400) Subject: coloreditor: Stop adding marks style to color scales X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~20^2~4^2~202^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1f61cb2251f75e912537589724be84b1a404b183;p=gtk4.git coloreditor: Stop adding marks style to color scales --- diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c index 84f2fe490b..5f7faa5e03 100644 --- a/gtk/gtkcoloreditor.c +++ b/gtk/gtkcoloreditor.c @@ -401,11 +401,6 @@ gtk_color_editor_init (GtkColorEditor *editor) g_type_ensure (GTK_TYPE_COLOR_SWATCH); gtk_widget_init_template (GTK_WIDGET (editor)); - if (gtk_widget_get_direction (editor->h_slider) == GTK_TEXT_DIR_RTL) - gtk_widget_add_css_class (editor->h_slider, "marks-before"); - else - gtk_widget_add_css_class (editor->h_slider, "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 * but require 4 separate callbacks and would be rather ugly). diff --git a/gtk/ui/gtkcoloreditor.ui b/gtk/ui/gtkcoloreditor.ui index 2058143128..010e353617 100644 --- a/gtk/ui/gtkcoloreditor.ui +++ b/gtk/ui/gtkcoloreditor.ui @@ -102,9 +102,6 @@ a_adj 1 False - 1 2