window: Invert check that was wrong

This commit is contained in:
Benjamin Otte 2011-04-29 03:27:02 +02:00
parent 1c46e04f30
commit 7962a4b716

View File

@ -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;