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

index 5eb5e9a..82601eb 100644 (file)
@@ -389,6 +389,9 @@ namespace Palete {
                                        
                                        // only exact matches from here on...
                                        if (cur_instance) {
+                                               if (cls == null) {
+                                                       return ret;
+                                               }
                                                if (cls.props.has_key(parts[i])) {
                                                        var prop = cls.props.get(parts[i]);
                                                        if (prop.type.index_of(".",0) > -1) {