src/Palete/Gtk.vala
authorAlan Knowles <alan@roojs.com>
Fri, 29 May 2015 06:17:45 +0000 (14:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 29 May 2015 06:17:45 +0000 (14:17 +0800)
src/Palete/Gtk.vala

index cd9af0d..5241cba 100644 (file)
@@ -428,7 +428,7 @@ namespace Palete {
                                        continue;
                                         
                                }
-                               /*
+                               
                                // got to the last element..
                                print("Got last element\n");
                                if (curtype == "") { // should not happen.. we would have returned already..
@@ -438,9 +438,10 @@ namespace Palete {
                                if (!cur_instance) {
                                        print("matching instance");
                                        // it's a static reference..
-                                       var citer = this.classes.map_iterator();
+                                       var citer = cls.classes.map_iterator();
                                        while (citer.next()) {
                                                var scls = citer.get_key();
+                                               print("checking against class %s\n",scls);
                                                var look = prevbits + parts[i];
                                                if (parts[i].length > 0 && scls.index_of(look,0) != 0) {
                                                        continue;