summaryrefslogtreecommitdiff
path: root/gtk/gtkiconview.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkiconview.c')
-rw-r--r--gtk/gtkiconview.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c
index 2dc10434ee..2d97dce272 100644
--- a/gtk/gtkiconview.c
+++ b/gtk/gtkiconview.c
@@ -1455,8 +1455,9 @@ gtk_icon_view_size_request (GtkWidget *widget,
tmp_list = tmp_list->next;
if (gtk_widget_get_visible (child->widget))
- gtk_widget_size_request (child->widget, &child_requisition);
- }
+ gtk_size_request_get_size (GTK_SIZE_REQUEST (child->widget),
+ &child_requisition, NULL);
+ }
}
static void