forked from AuroraMiddleware/gtk
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:
parent
97e8614eb3
commit
2430496da4
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user