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:
Matthias Clasen 2012-03-18 22:56:44 -04:00
parent 6df7562570
commit c0431a7238

View File

@ -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);