mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
builder: Remove a questionable test
It doesn't really make sense to check properties of a cell renderer, since those only get set when needed to render or size-allocate a cell.
This commit is contained in:
parent
6df7562570
commit
c0431a7238
@ -1226,14 +1226,6 @@ test_icon_view (void)
|
||||
g_assert (iconview);
|
||||
g_assert (GTK_IS_ICON_VIEW (iconview));
|
||||
|
||||
gtk_widget_realize (GTK_WIDGET (iconview));
|
||||
|
||||
renderer = gtk_builder_get_object (builder, "renderer1");
|
||||
g_object_get (renderer, "text", &text, NULL);
|
||||
g_assert (text);
|
||||
g_assert (strcmp (text, "test") == 0);
|
||||
g_free (text);
|
||||
|
||||
window = gtk_builder_get_object (builder, "window1");
|
||||
gtk_widget_destroy (GTK_WIDGET (window));
|
||||
g_object_unref (builder);
|
||||
|
Loading…
Reference in New Issue
Block a user