[gnome-software: 55/110] Replace GTK_STYLE_CLASS_DIM_LABEL by "dim-label"




commit da46cd27c338c90d3a5dfccb1e44adc133d2991b
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Aug 24 19:49:42 2021 -0300

    Replace GTK_STYLE_CLASS_DIM_LABEL by "dim-label"
    
    The define doesn't exist anymore (but the CSS class still does).

 src/gs-search-page.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-search-page.c b/src/gs-search-page.c
index c266961c1..96954faec 100644
--- a/src/gs-search-page.c
+++ b/src/gs-search-page.c
@@ -179,7 +179,7 @@ gs_search_page_get_search_cb (GObject *source_object,
                gtk_widget_set_margin_start (w, 20);
                gtk_widget_set_margin_end (w, 20);
                context = gtk_widget_get_style_context (w);
-               gtk_style_context_add_class (context, GTK_STYLE_CLASS_DIM_LABEL);
+               gtk_style_context_add_class (context, "dim-label");
                gtk_list_box_insert (GTK_LIST_BOX (self->list_box_search), w, -1);
                gtk_widget_show (w);
        } else {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]