GNOME Bugzilla – Bug 708915
Fix ParamSpec constructors
Last modified: 2013-09-28 16:49:41 UTC
Especially for boxed types this is quite important
Created attachment 255920 [details] [review] Fix ParamSpec constructors for boxed/object/param properties We must provide JS wrappers, and pass the actual prop_gtype to the C constructor, instead of the fundamental type.
Created attachment 255921 [details] [review] Fix ParamSpec constructors for enum/flags Remove the redundancy in the prop_gtype and actual gtype.
Review of attachment 255920 [details] [review]: ::: modules/overrides/GObject.js @@ +235,3 @@ + this.ParamSpec.boxed = function(name, nick, blurb, flags, boxed_type) { + return GObject.ParamSpec._new_internal(name, boxed_type, nick, blurb, flags); + }, semis, not commas
Review of attachment 255921 [details] [review]: OK.
Pushed with suggested changes. Attachment 255920 [details] pushed as daca80a - Fix ParamSpec constructors for boxed/object/param properties Attachment 255921 [details] pushed as 8ee86a3 - Fix ParamSpec constructors for enum/flags