[gedit] Fix generating messages with enum or flag properties
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Fix generating messages with enum or flag properties
- Date: Tue, 7 Jan 2014 18:22:38 +0000 (UTC)
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]