[gedit] Fix generating messages with enum or flag properties



commit 9444b9d32dbd702c55163d11d69aed87868c0ef8
Author: Garrett Regier <garrettregier gmail com>
Date:   Fri Nov 15 15:08:05 2013 -0800

    Fix generating messages with enum or flag properties

 tools/generate-message.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/generate-message.py b/tools/generate-message.py
index 646b78e..9cb8633 100755
--- a/tools/generate-message.py
+++ b/tools/generate-message.py
@@ -182,7 +182,7 @@ class ParamSpecDouble(ParamSpecNumeric):
 
 class ParamSpecEnum(ParamSpecTyped):
     def __init__(self, name, nick, desc, flags, **kwargs):
-        ParamSpec.__init__(self, name, nick, desc, flags, **kwargs)
+        ParamSpecTyped.__init__(self, name, nick, desc, flags, **kwargs)
 
         if 'default' in kwargs:
             default = kwargs['default']


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]