summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2010-06-11 13:24:20 +0200
committerCosimo Cecchi <cosimoc@gnome.org>2010-06-11 13:25:22 +0200
commitd9f80b3f407b65f559c0ca47cddac41175ac353d (patch)
tree047a3a2d07fbbf554a7c5e04dbf21cb609c7cd38 /test
parent78287a76d6be97428d166f781385b86e18c9b6b8 (diff)
downloadnautilus-d9f80b3f407b65f559c0ca47cddac41175ac353d.tar.gz
[test] GSEAL test-eel-image-table.
Diffstat (limited to 'test')
-rw-r--r--test/test-eel-image-table.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test-eel-image-table.c b/test/test-eel-image-table.c
index 267ac156b..271642b88 100644
--- a/test/test-eel-image-table.c
+++ b/test/test-eel-image-table.c
@@ -179,6 +179,7 @@ image_table_size_allocate (GtkWidget *image_table,
gpointer callback_data)
{
static int recursion_count = 0;
+ GtkAllocation w_allocation;
g_return_if_fail (EEL_IS_IMAGE_TABLE (image_table));
g_return_if_fail (allocation != NULL);
@@ -190,8 +191,9 @@ image_table_size_allocate (GtkWidget *image_table,
/*gtk_widget_queue_resize (GTK_WIDGET (callback_data));*/
+ gtk_widget_get_allocation (GTK_WIDGET (image_table), &w_allocation);
if (0) gtk_widget_size_allocate (GTK_WIDGET (image_table),
- &GTK_WIDGET (image_table)->allocation);
+ &w_allocation);
g_print ("%s(%d)\n", G_STRFUNC, recursion_count);