aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-05-10 22:34:43 -0600
committerGravatar Brendan Taylor <whateley@gmail.com>2011-05-10 22:34:43 -0600
commitb6b5e6a7cbd114b11974c1b29d6075ab6993a49f (patch)
treeb8a18459b664d7038f1a71f83636e95a8695d44f /src
parentb58fcd811ae1744604a70142d6b6e48b0bfa396a (diff)
have another shot at fixing window geometry hint issues, thanks stinky
Diffstat (limited to 'src')
-rw-r--r--src/uzbl-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c
index eeae2ec..41c75a0 100644
--- a/src/uzbl-core.c
+++ b/src/uzbl-core.c
@@ -1531,10 +1531,10 @@ create_window() {
#endif
/* the window should never make itself bigger. */
- GdkGeometry hints;
+ GdkGeometry hints = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
hints.min_height = 1;
hints.min_width = 1;
- gtk_window_set_geometry_hints (GTK_WINDOW (window), window, &hints, GDK_HINT_MIN_SIZE);
+ gtk_window_set_geometry_hints (GTK_WINDOW (window), NULL, &hints, GDK_HINT_MIN_SIZE);
g_signal_connect (G_OBJECT (window), "destroy", G_CALLBACK (destroy_cb), NULL);
g_signal_connect (G_OBJECT (window), "configure-event", G_CALLBACK (configure_event_cb), NULL);