From 1f61cb2251f75e912537589724be84b1a404b183 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Thu, 12 May 2022 02:21:34 +0400 Subject: [PATCH] coloreditor: Stop adding marks style to color scales --- gtk/gtkcoloreditor.c | 5 ----- gtk/ui/gtkcoloreditor.ui | 3 --- 2 files changed, 8 deletions(-) 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 -- 2.30.2