Moved all Purple class callbacks inside, moved blist and pounce inside Purple.
[python-purple] / glib.pxd
index e24b2ed..d0cf22f 100644 (file)
--- a/glib.pxd
+++ b/glib.pxd
@@ -27,7 +27,7 @@ cdef extern from "glib.h":
 
     # GHashTable is an opaque data structure
     ctypedef struct GHashTable:
-        void *none
+        pass
 
     struct _GSList:
         gpointer data
@@ -41,12 +41,13 @@ cdef extern from "glib.h":
     ctypedef _GList GList
 
     ctypedef guint GHashFunc (gconstpointer)
+    ctypedef gboolean GEqualFunc (gconstpointer, gconstpointer)
 
     gboolean g_str_equal (gconstpointer, gconstpointer)
     guint g_str_hash (gconstpointer)
 
     GHashTable *g_hash_table_new (GHashFunc, GEqualFunc)
-    void g_hash_table_insert (GHashTable*, gpointer, gpointer )
+    void g_hash_table_insert (GHashTable*, gpointer, gpointer)
 
     guint g_timeout_add(guint interval, GSourceFunc function, gpointer data)
     guint g_timeout_add_seconds(guint interval, GSourceFunc function, gpointer data)