Fixed Debian package creation.
[python-purple] / libpurple / account.pxd
index 4466b69..33d93ba 100644 (file)
@@ -21,39 +21,24 @@ cimport glib
 
 # hack to avoid recursive loops by cython
 cdef extern from "libpurple/blist.h":
-    ctypedef struct PurpleBuddy:
-        pass
-
-    ctypedef struct PurpleGroup:
-        pass
+    ctypedef struct PurpleBuddy
+    ctypedef struct PurpleGroup
 
 cdef extern from "libpurple/connection.h":
-    ctypedef struct PurpleConnection:
-        pass
-
-    ctypedef struct PurpleConnectionErrorInfo:
-        pass
+    ctypedef struct PurpleConnection
+    ctypedef struct PurpleConnectionErrorInfo
 
 cdef extern from "libpurple/log.h":
-    ctypedef struct PurpleLog:
-        pass
+    ctypedef struct PurpleLog
 
 cdef extern from "libpurple/proxy.h":
-    ctypedef struct PurpleProxyInfo:
-        pass
+    ctypedef struct PurpleProxyInfo
 
 cdef extern from "libpurple/status.h":
-    ctypedef struct PurpleStatus:
-        pass
-
-    ctypedef struct PurpleStatusType:
-        pass
-
-    ctypedef struct PurpleStatusPrimitive:
-        pass
-
-    ctypedef struct PurplePresence:
-        pass
+    ctypedef struct PurpleStatus
+    ctypedef struct PurpleStatusType
+    ctypedef struct PurpleStatusPrimitive
+    ctypedef struct PurplePresence
 
 cdef extern from "libpurple/account.h":
     ctypedef struct PurpleAccountUiOps
@@ -152,7 +137,7 @@ cdef extern from "libpurple/account.h":
     void purple_account_set_status_list(PurpleAccount *account, \
             char *status_id, glib.gboolean active, glib.GList *attrs)
     void purple_account_set_status(PurpleAccount *account, \
-            char *status_id, glib.gboolean active, NULL) # FIXME
+            char *status_id, glib.gboolean active, ...)
     void purple_account_set_status_list(PurpleAccount *account, \
             char *status_id, glib.gboolean active, glib.GList *attrs)
     void purple_account_clear_settings(PurpleAccount *account)