[pygobject] pygtkcompat: Initialize hint to zero in set_geometry_hints
- From: Simon Feltman <sfeltman src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] pygtkcompat: Initialize hint to zero in set_geometry_hints
- Date: Sun, 17 Mar 2013 09:05:43 +0000 (UTC)
commit a3ec8867945da7722beebb7e77c6255ee3ba8bb8
Author: Simon Feltman <sfeltman src gnome org>
Date: Sun Mar 17 01:51:33 2013 -0700
pygtkcompat: Initialize hint to zero in set_geometry_hints
pygtkcompat/pygtkcompat.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pygtkcompat/pygtkcompat.py b/pygtkcompat/pygtkcompat.py
index ea60cf4..00a9f6a 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]