From b6b5e6a7cbd114b11974c1b29d6075ab6993a49f Mon Sep 17 00:00:00 2001 From: Brendan Taylor Date: Tue, 10 May 2011 22:34:43 -0600 Subject: have another shot at fixing window geometry hint issues, thanks stinky --- src/uzbl-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/uzbl-core.c') 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); -- cgit v1.2.3