[gjs] Comment why we need to search through GType data in object invoke path



commit 19db9731b8b4ba6ff70c1c201246763d799cd815
Author: Colin Walters <walters verbum org>
Date:   Fri Oct 22 14:57:15 2010 -0400

    Comment why we need to search through GType data in object invoke path

 gi/object.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gi/object.c b/gi/object.c
index 8f8a28e..3bbf0b6 100644
--- a/gi/object.c
+++ b/gi/object.c
@@ -304,6 +304,11 @@ object_instance_new_resolve(JSContext *context,
             }
         }
 
+        /**
+         * Search through any interfaces implemented by the GType;
+         * this could be done better.  See
+         * https://bugzilla.gnome.org/show_bug.cgi?id=632922
+         */
         if (method_info == NULL) {
             GType *interfaces;
             guint n_interfaces;



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