From 08b9cb7c8233e99135baf3fe1dfb90e73412fac0 Mon Sep 17 00:00:00 2001 From: Ragner Magalhaes Date: Tue, 2 Dec 2008 21:03:09 +0000 Subject: [PATCH 1/1] Cosmetics. FIXES: - Added some minor cosmetics to .pxd files. Signed-off-by: Bruno Abinader git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1395 596f6dd7-e928-0410-a184-9e12fd12cf7e --- libpurple/account.pxd | 4 ++-- libpurple/debug.pxd | 3 ++- libpurple/notify.pxd | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libpurple/account.pxd b/libpurple/account.pxd index 0e6dc89..15be88d 100644 --- a/libpurple/account.pxd +++ b/libpurple/account.pxd @@ -133,9 +133,9 @@ cdef extern from "libpurple/account.h": void c_purple_accounts_set_ui_ops "purple_accounts_set_ui_ops" \ (PurpleAccountUiOps *ops) void c_purple_account_connect "purple_account_connect" \ - (PurpleAccount *account) + (PurpleAccount *account) void c_purple_account_disconnect "purple_account_disconnect" \ - (PurpleAccount *account) + (PurpleAccount *account) glib.gboolean c_purple_account_is_connected "purple_account_is_connected" \ (PurpleAccount *account) PurpleProxyInfo *c_purple_account_get_proxy_info \ diff --git a/libpurple/debug.pxd b/libpurple/debug.pxd index 52dc9e9..df6be4e 100644 --- a/libpurple/debug.pxd +++ b/libpurple/debug.pxd @@ -20,8 +20,9 @@ cimport glib cdef extern from "libpurple/debug.h": + ctypedef enum PurpleDebugLevel: - PURPLE_DEBUG_ALL + PURPLE_DEBUG_ALL = 0 PURPLE_DEBUG_MISC PURPLE_DEBUG_INFO PURPLE_DEBUG_WARNING diff --git a/libpurple/notify.pxd b/libpurple/notify.pxd index e94ceb7..dc76d20 100644 --- a/libpurple/notify.pxd +++ b/libpurple/notify.pxd @@ -73,11 +73,11 @@ cdef extern from "libpurple/notify.h": void *(*notify_message) (PurpleNotifyMsgType type, const_char *title, \ const_char *primary, const_char *secondary) void *(*notify_email) (connection.PurpleConnection *gc, \ - const_char *subject, const_char *_from, const_char *to, \ + const_char *subject, const_char *sender, const_char *to, \ const_char *url) void *(*notify_emails) (connection.PurpleConnection *gc, size_t count, glib.gboolean detailed, const_char **subjects, \ - const_char **froms, const_char **tos, const_char **urls) + const_char **senders, const_char **tos, const_char **urls) void *(*notify_formatted) (const_char *title, const_char *primary, \ const_char *secondary, const_char *text) void *(*notify_searchresults) (connection.PurpleConnection *gc, \ -- 1.7.9.5