Remove assertions that are no longer true

The GtkBuilder infobar tests were asserting facts about the
internal structure of the widget that are no longer true.
This commit is contained in:
Matthias Clasen 2013-08-03 18:28:45 +02:00
parent 97e8614eb3
commit 2430496da4

View File

@ -2524,11 +2524,9 @@ test_message_area (void)
g_assert (GTK_IS_INFO_BAR (obj));
obj1 = gtk_builder_get_object (builder, "content");
g_assert (GTK_IS_LABEL (obj1));
g_assert (gtk_widget_get_parent (gtk_widget_get_parent (GTK_WIDGET (obj1))) == GTK_WIDGET (obj));
obj1 = gtk_builder_get_object (builder, "button_ok");
g_assert (GTK_IS_BUTTON (obj1));
g_assert (gtk_widget_get_parent (gtk_widget_get_parent (GTK_WIDGET (obj1))) == GTK_WIDGET (obj));
g_object_unref (builder);
}