GNOME Bugzilla – Bug 654048
Unify method of Instantiating GObject-Introspected objects
Last modified: 2015-02-07 16:53:27 UTC
Preface: Using Python + GObject Instrospection There appears to be a discrepancy with how objects can be instantiated. It seems that Clutter.Xyz() should be equivalent to Clutter.Xyz.new(). But when instantiating with arguments such as: colorBlack = Clutter.Color.new(0,0,0,255) This is not equivalent to: colorBlack = Clutter.Color(0,0,0,255) Since the latter complains with: Traceback (most recent call last):
+ Trace 227675
re-assigning
*** This bug has been marked as a duplicate of bug 721226 ***
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]