gtk/gtkwindow.c: Fix warning

Cast to GtkSizeRequest

This was added in
commit b654afcb48
This commit is contained in:
Javier Jardón 2010-09-08 20:12:26 +02:00
parent 87141cf4c8
commit 2d0a655201

View File

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