From 7962a4b716161e90f905ab1ed76af6cc49ce8d45 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 29 Apr 2011 03:27:02 +0200 Subject: [PATCH] window: Invert check that was wrong --- gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 5c6496c1ac..5b9be4ebf0 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -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;