summaryrefslogtreecommitdiff
path: root/pygtkcompat
diff options
context:
space:
mode:
authorSimon Feltman <sfeltman@src.gnome.org>2013-03-17 01:51:33 -0700
committerSimon Feltman <sfeltman@src.gnome.org>2013-03-17 02:04:25 -0700
commita3ec8867945da7722beebb7e77c6255ee3ba8bb8 (patch)
treee3c1a9157926859cafba84f51dfc1ef31434363d /pygtkcompat
parent471204953d6fc93b3d311afd133d40f7d75ec541 (diff)
downloadpygobject-a3ec8867945da7722beebb7e77c6255ee3ba8bb8.tar.gz
pygtkcompat: Initialize hint to zero in set_geometry_hints
Diffstat (limited to 'pygtkcompat')
-rw-r--r--pygtkcompat/pygtkcompat.py2
1 files changed, 1 insertions, 1 deletions
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)