From a3ec8867945da7722beebb7e77c6255ee3ba8bb8 Mon Sep 17 00:00:00 2001 From: Simon Feltman Date: Sun, 17 Mar 2013 01:51:33 -0700 Subject: pygtkcompat: Initialize hint to zero in set_geometry_hints --- pygtkcompat/pygtkcompat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pygtkcompat') diff --git a/pygtkcompat/pygtkcompat.py b/pygtkcompat/pygtkcompat.py index ea60cf47..00a9f6ab 100644 --- a/pygtkcompat/pygtkcompat.py +++ b/pygtkcompat/pygtkcompat.py @@ -427,7 +427,7 @@ def enable_gtk(version='2.0'): min_aspect=-1.0, max_aspect=-1.0): geometry = Gdk.Geometry() - geom_mask = Gdk.WindowHints() + geom_mask = Gdk.WindowHints(0) if min_width >= 0 or min_height >= 0: geometry.min_width = max(min_width, 0) -- cgit v1.2.1