Added GsourceFunc implementation
authorRagner Magalhaes <ragner.magalhaes@openbossa.org>
Tue, 2 Dec 2008 20:06:14 +0000 (20:06 +0000)
committerAnderson Briglia <anderson.briglia@openbossa.org>
Sat, 28 Feb 2009 21:11:08 +0000 (17:11 -0400)
Added GSourceFunc implementation used on PurpleEventLoopUiOps callbacks).

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1269 596f6dd7-e928-0410-a184-9e12fd12cf7e

glib.pxd

index 3a87384..b0a5d32 100644 (file)
--- a/glib.pxd
+++ b/glib.pxd
 #
 
 cdef extern from "glib.h":
-    ctypedef void  *gpointer
+    ctypedef void *gpointer
     ctypedef int gint
     ctypedef unsigned int guint
     ctypedef gint gboolean
+    ctypedef gboolean (*GSourceFunc) (gpointer data)
 
     # GHashTable is an opaque data structure
     ctypedef struct GHashTable: