diff options
author | Benjamin Otte <otte@redhat.com> | 2011-04-29 03:27:02 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-04-29 03:27:02 +0200 |
commit | 7962a4b716161e90f905ab1ed76af6cc49ce8d45 (patch) | |
tree | c8de1e71334d07655dd22965dee481842a7a8b75 /gtk/gtkwindow.c | |
parent | 1c46e04f30e8b496ac0cc3ad830b4824e54c1e94 (diff) | |
download | gtk+-7962a4b716161e90f905ab1ed76af6cc49ce8d45.tar.gz |
window: Invert check that was wrong
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |