mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Fixed warning catch in gtk_window_compute_hints().
This commit is contained in:
parent
8a1a0bd0c7
commit
0b8a1dcac2
@ -7168,7 +7168,7 @@ gtk_window_compute_hints (GtkWindow *window,
|
||||
extra_width = requisition.width - TEMPORARY_SIZE;
|
||||
extra_height = requisition.height - TEMPORARY_SIZE;
|
||||
|
||||
if (extra_width < 0 || extra_width < 0)
|
||||
if (extra_width < 0 || extra_height < 0)
|
||||
{
|
||||
g_warning("Toplevel size doesn't seem to directly depend on the "
|
||||
"size of the geometry widget from gtk_window_set_geometry_hints(). "
|
||||
|
Loading…
Reference in New Issue
Block a user