diff options
author | Brendan Taylor <whateley@gmail.com> | 2011-05-10 22:34:43 -0600 |
---|---|---|
committer | Brendan Taylor <whateley@gmail.com> | 2011-05-10 22:34:43 -0600 |
commit | b6b5e6a7cbd114b11974c1b29d6075ab6993a49f (patch) | |
tree | b8a18459b664d7038f1a71f83636e95a8695d44f /src | |
parent | b58fcd811ae1744604a70142d6b6e48b0bfa396a (diff) |
have another shot at fixing window geometry hint issues, thanks stinky
Diffstat (limited to 'src')
-rw-r--r-- | src/uzbl-core.c | 4 |
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); |