mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 06:21:14 +00:00
window: Invert check that was wrong
This commit is contained in:
parent
1c46e04f30
commit
7962a4b716
@ -4960,7 +4960,7 @@ gtk_window_realize (GtkWidget *widget)
|
||||
allocation.y = 0;
|
||||
|
||||
gtk_window_guess_default_size (window, &allocation.width, &allocation.height);
|
||||
if (allocation.width || allocation.height)
|
||||
if (allocation.width == 0 || allocation.height == 0)
|
||||
{
|
||||
/* non-empty window */
|
||||
allocation.width = 200;
|
||||
|
Loading…
Reference in New Issue
Block a user