[gtk+] Avoid compiler warnings



commit d0fb80d31b2d308145d6854cb88ddba0c0a5438e
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 1 00:50:25 2014 -0400

    Avoid compiler warnings

 gtk/gtkassistant.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c
index a6ccc97..e1a5244 100644
--- a/gtk/gtkassistant.c
+++ b/gtk/gtkassistant.c
@@ -1758,8 +1758,8 @@ gtk_assistant_insert_page (GtkAssistant *assistant,
   page_info->current_title = gtk_label_new (NULL);
   gtk_widget_set_no_show_all (page_info->current_title, TRUE);
 
-  gtk_label_set_xalign (page_info->regular_title, 0.0);
-  gtk_label_set_xalign (page_info->current_title, 0.0);
+  gtk_label_set_xalign (GTK_LABEL (page_info->regular_title), 0.0);
+  gtk_label_set_xalign (GTK_LABEL (page_info->current_title), 0.0);
 
   gtk_widget_show (page_info->regular_title);
   gtk_widget_hide (page_info->current_title);


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