forked from AuroraMiddleware/gtk
gtk/gtkwindow.c: Fix warning
Cast to GtkSizeRequest
This was added in
commit b654afcb48
This commit is contained in:
parent
87141cf4c8
commit
2d0a655201
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user