From c0431a72385308f18bbf176313736372ed16cd76 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 18 Mar 2012 22:56:44 -0400 Subject: [PATCH] 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. --- gtk/tests/builder.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gtk/tests/builder.c b/gtk/tests/builder.c index 1422dfc92c..ada6912cf8 100644 --- a/gtk/tests/builder.c +++ b/gtk/tests/builder.c @@ -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);