[pygobject] Fix pointer cast warning that was missed in bug 675726



commit 50da4fca1435f8c27072e15875227c5e7fb9b7e4
Author: Simon Feltman <sfeltman src gnome org>
Date:   Sun Feb 3 23:56:14 2013 -0800

    Fix pointer cast warning that was missed in bug 675726
    
    https://bugzilla.gnome.org/show_bug.cgi?id=675726

 gi/_gobject/pygobject.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/_gobject/pygobject.h b/gi/_gobject/pygobject.h
index 3f637ce..bfe6706 100644
--- a/gi/_gobject/pygobject.h
+++ b/gi/_gobject/pygobject.h
@@ -92,7 +92,7 @@ struct _PyGObject_Functions {
     void (* register_wrapper)(PyObject *self);
     PyTypeObject *(* lookup_class)(GType type);
     PyObject *(* newgobj)(GObject *obj);
-    PyObject *(* newgobj_full)(GObject *obj, gboolean sink, GType type);
+    PyObject *(* newgobj_full)(GObject *obj, gboolean sink, gpointer g_class);
 
     GClosure *(* closure_new)(PyObject *callback, PyObject *extra_args,
 			      PyObject *swap_data);



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