assistant: Use gtk_container_remove() when removing pages

Ensures that we properly emit the "remove" signal.
This commit is contained in:
Benjamin Otte 2011-07-14 11:36:29 +02:00
parent 3bfa69fa53
commit 1f4b524558

View File

@ -1671,7 +1671,7 @@ gtk_assistant_remove_page (GtkAssistant *assistant,
page = gtk_assistant_get_nth_page (assistant, page_num);
if (page)
gtk_assistant_remove (GTK_CONTAINER (assistant), page);
gtk_container_remove (GTK_CONTAINER (assistant), page);
}
/**