summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPhilip Chimento <philip@endlessm.com>2016-11-22 12:26:33 -0500
committerPhilip Chimento <philip@endlessm.com>2016-12-09 19:44:37 -0800
commite0fd6b6079187d41394d30e68d45f5b038214832 (patch)
tree4d74620c88b9d7809c6602f139efbb82f13bdecb /util
parenteccf3a14b9b0d6aae89baeaa32dd53f07b2b77d7 (diff)
downloadgjs-e0fd6b6079187d41394d30e68d45f5b038214832.tar.gz
lang: No need to set prototype for Lang.Interface
Since we are removing any direct alterations of objects' prototypes, we can remove this one altogether as it turns out that it isn't necessary. The normal way to create an object with a custom prototype is Object.create(), and since it's not necessary for the interface object to be callable, we don't have to do the trick where we give a function a custom prototype. We still need to do the trick for GObject interfaces, because the interface object needs to be the object returned from Gi.register_interface(). https://bugzilla.gnome.org/show_bug.cgi?id=751252
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions