forked from AuroraMiddleware/gtk
Removed call to get_preferred_size (widget, NULL, NULL);
This was another case of making sure size-request was called before other code was doing get_child_requisition(), now caching is done via the same api so no need for that line.
This commit is contained in:
parent
480b9f6b11
commit
3267cd08e9
@ -6293,7 +6293,6 @@ gtk_window_compute_configure_request (GtkWindow *window,
|
|||||||
|
|
||||||
screen = gtk_window_check_screen (window);
|
screen = gtk_window_check_screen (window);
|
||||||
|
|
||||||
gtk_widget_get_preferred_size (widget, NULL, NULL);
|
|
||||||
gtk_window_compute_configure_request_size (window, (guint *)&w, (guint *)&h);
|
gtk_window_compute_configure_request_size (window, (guint *)&w, (guint *)&h);
|
||||||
|
|
||||||
gtk_window_compute_hints (window, &new_geometry, &new_flags);
|
gtk_window_compute_hints (window, &new_geometry, &new_flags);
|
||||||
|
Loading…
Reference in New Issue
Block a user