[gnome-online-accounts] backend: Use GTK_STYLE_CLASS_DIM_LABEL instead of "dim-label"



commit 6714ea993ceadea12416e135b25ef3a329108092
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Jun 4 20:20:31 2012 +0200

    backend: Use GTK_STYLE_CLASS_DIM_LABEL instead of "dim-label"

 src/goabackend/goaexchangeprovider.c |    2 +-
 src/goabackend/goaprovider.c         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/goabackend/goaexchangeprovider.c b/src/goabackend/goaexchangeprovider.c
index fb0df2a..d53ebe5 100644
--- a/src/goabackend/goaexchangeprovider.c
+++ b/src/goabackend/goaexchangeprovider.c
@@ -333,7 +333,7 @@ add_entry (GtkWidget     *grid1,
 
   label = gtk_label_new_with_mnemonic (text);
   context = gtk_widget_get_style_context (label);
-  gtk_style_context_add_class (context, "dim-label");
+  gtk_style_context_add_class (context, GTK_STYLE_CLASS_DIM_LABEL);
   gtk_widget_set_vexpand (label, TRUE);
   gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
   gtk_container_add (GTK_CONTAINER (grid1), label);
diff --git a/src/goabackend/goaprovider.c b/src/goabackend/goaprovider.c
index 5f7d6a9..26f4853 100644
--- a/src/goabackend/goaprovider.c
+++ b/src/goabackend/goaprovider.c
@@ -973,7 +973,7 @@ goa_util_add_row_widget (GtkGrid      *left,
 
       label = gtk_label_new (label_text);
       context = gtk_widget_get_style_context (label);
-      gtk_style_context_add_class (context, "dim-label");
+      gtk_style_context_add_class (context, GTK_STYLE_CLASS_DIM_LABEL);
       gtk_misc_set_alignment (GTK_MISC (label), 1.0, 0.5);
       gtk_container_add (GTK_CONTAINER (left), label);
     }



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