[gobject-introspection] scanner: Don't add redundant notify signal



commit a4dbee702bbb4f5122e166f680bf24b0fb52fe1c
Author: Colin Walters <walters verbum org>
Date:   Mon Sep 12 14:29:17 2011 -0400

    scanner: Don't add redundant notify signal
    
    It was actually introduced by e0fea819f0da1ca60cce3280e7e21f3d2955be3a

 giscanner/gdumpparser.py |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/giscanner/gdumpparser.py b/giscanner/gdumpparser.py
index 3da49e8..c0c4ef6 100644
--- a/giscanner/gdumpparser.py
+++ b/giscanner/gdumpparser.py
@@ -224,10 +224,6 @@ blob containing data gleaned from GObject's primitive introspection."""
             node.fundamental = True
             if record.name == 'ParamSpec':
                 node.is_abstract = True
-            elif record.name == 'Object':
-                node.signals.append(ast.Signal('notify', ast.Return(ast.TYPE_NONE), [],
-                                               detailed=True, when='first', no_recurse=True,
-                                               no_hooks=True, action=True))
             self._add_record_fields(node)
             self._namespace.append(node, replace=True)
         elif record.name == 'Variant':



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