From 2d0a6552017d0953be739bc7a4a6595af8cad11c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Wed, 8 Sep 2010 20:12:26 +0200 Subject: [PATCH] gtk/gtkwindow.c: Fix warning Cast to GtkSizeRequest This was added in commit b654afcb480c4f971436bd82a7b20f86686a9c02 --- gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 1a753bef41..90b8b312f2 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -6660,7 +6660,7 @@ gtk_window_compute_hints (GtkWindow *window, */ gtk_widget_get_child_requisition (geometry_info->widget, &child_requisition); - gtk_size_request_get_size (widget, &requisition, NULL); + gtk_size_request_get_size (GTK_SIZE_REQUEST (widget), &requisition, NULL); extra_width = requisition.width - child_requisition.width; extra_height = requisition.height - child_requisition.height; }