From 7812f09fe236356859d21a78a0b52b767eb949d8 Mon Sep 17 00:00:00 2001 From: Ragner Magalhaes Date: Tue, 2 Dec 2008 20:06:14 +0000 Subject: [PATCH 1/1] Added GsourceFunc implementation Added GSourceFunc implementation used on PurpleEventLoopUiOps callbacks). Signed-off-by: Bruno Abinader git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1269 596f6dd7-e928-0410-a184-9e12fd12cf7e --- glib.pxd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glib.pxd b/glib.pxd index 3a87384..b0a5d32 100644 --- a/glib.pxd +++ b/glib.pxd @@ -18,10 +18,11 @@ # 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: -- 1.7.9.5