forked from AuroraMiddleware/gtk
gtk/gtkwindow.c: Use gtk_size_request_get_size() instead gtk_widget_get_requisition()
This commit is contained in:
parent
9934007420
commit
b654afcb48
@ -6660,7 +6660,7 @@ gtk_window_compute_hints (GtkWindow *window,
|
||||
*/
|
||||
gtk_widget_get_child_requisition (geometry_info->widget, &child_requisition);
|
||||
|
||||
gtk_widget_get_requisition (widget, &requisition);
|
||||
gtk_size_request_get_size (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