ui/gtk/text.c

branch
newapi
changeset 326
3968180cdfb0
parent 323
38cb8e3992e8
--- a/ui/gtk/text.c	Sun Oct 06 12:08:40 2024 +0200
+++ b/ui/gtk/text.c	Sun Oct 06 12:19:40 2024 +0200
@@ -709,9 +709,9 @@
     UiPathTextField *pathtf = event->customdata1;
     for(int i=0;i<event->value1;i++) {
         if(i <= event->value0) {
-            gtk_widget_remove_css_class(pathtf->current_path_buttons[i], "pathbar-button-inactive");
+            WIDGET_REMOVE_CSS_CLASS(pathtf->current_path_buttons[i], "pathbar-button-inactive");
         } else {
-            gtk_widget_add_css_class(pathtf->current_path_buttons[i], "pathbar-button-inactive");
+            WIDGET_ADD_CSS_CLASS(pathtf->current_path_buttons[i], "pathbar-button-inactive");
         }
     }
     

mercurial