[pybank] Fix a bunch of compilation warnings



commit 338d68844f958205e6de12b432a2afbeb2f81547
Author: Johan Dahlin <johan gnome org>
Date:   Tue Jun 2 11:43:31 2009 -0300

    Fix a bunch of compilation warnings
---
 bank/bank-info.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/bank/bank-info.c b/bank/bank-info.c
index 8866824..974d586 100644
--- a/bank/bank-info.c
+++ b/bank/bank-info.c
@@ -920,14 +920,14 @@ _wrap_g_interface_info_get_methods(PyGIBaseInfo *self)
 static void
 initialize_interface (GTypeInterface *iface, PyTypeObject *pytype)
 {
+    // TODO: Implement this when g-i adds supports for vfunc offsets:
+    // http://bugzilla.gnome.org/show_bug.cgi?id=560281
+    /*
     GIRepository *repo = g_irepository_get_default();
     GIBaseInfo *iface_info = g_irepository_find_by_gtype(repo, G_TYPE_FROM_INTERFACE(iface));
     int length, i;
     GTypeInterface *parent_iface = g_type_interface_peek_parent(iface);
 
-    // TODO: Implement this when g-i adds supports for vfunc offsets:
-    // http://bugzilla.gnome.org/show_bug.cgi?id=560281
-    /*
     length = g_interface_info_get_n_methods((GIInterfaceInfo *) iface_info);
 
     for (i = 0; i < length; i++) {



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