Palete/Gtk.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Jun 2014 12:04:32 +0000 (20:04 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Jun 2014 12:04:32 +0000 (20:04 +0800)
Palete/Gtk.js

index 1032437..294e8d9 100644 (file)
@@ -416,6 +416,9 @@ Gtk = XObject.define(
         typeToName  : function (type_info, allow_iface) // find type for properties or arguments.
         {
             print(type_info);
+            if (type_info == 17) {
+                return '???';
+            }
             var x = GIRepository.type_info_get_tag(type_info);
             print(x);
             var ty = GIRepository.type_tag_to_string( GIRepository.type_info_get_tag(type_info));