diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index a6ccc97e49..e1a52447e2 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);