assistant: Drop unneeded calls

GtkAssistant is just a regular composite widget nowadays,
no need to manually queue resizes.
This commit is contained in:
Matthias Clasen
2015-09-19 11:17:32 -04:00
parent 5dcbbc6736
commit 442ad755d4

View File

@@ -999,8 +999,6 @@ set_current_page (GtkAssistant *assistant,
}
}
}
gtk_widget_queue_resize (GTK_WIDGET (assistant));
}
static gint
@@ -2020,7 +2018,6 @@ gtk_assistant_set_page_title (GtkAssistant *assistant,
gtk_label_set_text ((GtkLabel*) page_info->regular_title, title);
gtk_label_set_text ((GtkLabel*) page_info->current_title, title);
gtk_widget_queue_resize (GTK_WIDGET (assistant));
gtk_container_child_notify (GTK_CONTAINER (assistant), page, "title");
}