X-Git-Url: http://git.maemo.org/git/?p=python-purple;a=blobdiff_plain;f=account_cbs.pxd;h=06cd2cafd0586be0de017eb7c76244aee63333f4;hp=e6bdee8c5cd1656c34480de9e3d234e9d3a75ed0;hb=refs%2Fheads%2Fmaster;hpb=8c0353cd18905a1e49fc3116b5a98b319ba3a380
diff --git a/account_cbs.pxd b/account_cbs.pxd
index e6bdee8..06cd2ca 100644
--- a/account_cbs.pxd
+++ b/account_cbs.pxd
@@ -17,8 +17,6 @@
# along with this program. If not, see .
#
-cimport purple
-
cdef extern from *:
ctypedef char const_char "const char"
@@ -58,7 +56,7 @@ cdef void notify_added(account.PurpleAccount *c_account, \
their buddy list.
"""
cdef connection.PurpleConnection *gc = \
- account.purple_account_get_connection(c_account)
+ account.purple_account_get_connection(c_account)
debug.purple_debug_info("account", "%s", "notify-added\n")
@@ -81,10 +79,10 @@ cdef void notify_added(account.PurpleAccount *c_account, \
else:
message = None
- if account_cbs.has_key("notify-added"):
+ if "notify-added" in account_cbs:
(