[gjs] Gtk: fix typos in WidgetClass



commit fde87382e95a4dcec12953b9ca2d60536721721f
Author: Giovanni Campagna <scampa giovanni gmail com>
Date:   Fri Oct 31 11:31:26 2014 -0700

    Gtk: fix typos in WidgetClass
    
    Fix capitalization of property names we attempt to delete from
    the params (which are added  to the prototype)
    
    https://bugzilla.gnome.org/show_bug.cgi?id=737661

 modules/overrides/Gtk.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/overrides/Gtk.js b/modules/overrides/Gtk.js
index 7a1c4b0..5d5228b 100644
--- a/modules/overrides/Gtk.js
+++ b/modules/overrides/Gtk.js
@@ -35,10 +35,10 @@ const GtkWidgetClass = new Lang.Class({
         delete params.Template;
 
         let children = params.Children;
-        delete params.children;
+        delete params.Children;
 
         let internalChildren = params.InternalChildren;
-        delete params.internalChildren;
+        delete params.InternalChildren;
 
         if (template) {
             params._instance_init = function() {


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