[gnome-control-center] region: Use GTK+ widget types



commit fb27378c7e9eab5ff5988b9d8a72b9e1993eb0d8
Author: Robert Ancell <robert ancell canonical com>
Date:   Tue Nov 20 10:26:42 2018 +1300

    region: Use GTK+ widget types

 panels/region/cc-input-row.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/region/cc-input-row.c b/panels/region/cc-input-row.c
index e2820d437..c3f3c1fca 100644
--- a/panels/region/cc-input-row.c
+++ b/panels/region/cc-input-row.c
@@ -25,7 +25,7 @@ struct _CcInputRow
 
   CcInputSource   *source;
 
-  GtkWidget       *name_label;
+  GtkLabel        *name_label;
   GtkWidget       *icon_image;
 };
 
@@ -65,7 +65,7 @@ static void
 label_changed_cb (CcInputRow *self)
 {
   g_autofree gchar *label = cc_input_source_get_label (self->source);
-  gtk_label_set_text (GTK_LABEL (self->name_label), label);
+  gtk_label_set_text (self->name_label, label);
 }
 
 CcInputRow *


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