projects
/
python-purple
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed accounts.pxd recursive call from other .pxd files.
[python-purple]
/
connection_cbs.pxd
diff --git
a/connection_cbs.pxd
b/connection_cbs.pxd
index
ca39432
..
58b58ad
100644
(file)
--- a/
connection_cbs.pxd
+++ b/
connection_cbs.pxd
@@
-28,7
+28,6
@@
cdef void connect_progress (connection.PurpleConnection *gc, const_char *text,
size_t step, size_t step_count):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"connect_progress\n")
size_t step, size_t step_count):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"connect_progress\n")
- global connection_cbs
try:
(<object>connection_cbs["connect_progress"])("connect_progress")
except KeyError:
try:
(<object>connection_cbs["connect_progress"])("connect_progress")
except KeyError:
@@
-37,7
+36,6
@@
cdef void connect_progress (connection.PurpleConnection *gc, const_char *text,
cdef void connected (connection.PurpleConnection *gc):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"connected\n")
cdef void connected (connection.PurpleConnection *gc):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"connected\n")
- global connection_cbs
try:
(<object>connection_cbs["connected"])("connected")
except KeyError:
try:
(<object>connection_cbs["connected"])("connected")
except KeyError:
@@
-46,7
+44,6
@@
cdef void connected (connection.PurpleConnection *gc):
cdef void disconnected (connection.PurpleConnection *gc):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"disconnected\n")
cdef void disconnected (connection.PurpleConnection *gc):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"disconnected\n")
- global connection_cbs
try:
(<object>connection_cbs["disconnected"])("disconnected")
except KeyError:
try:
(<object>connection_cbs["disconnected"])("disconnected")
except KeyError:
@@
-55,7
+52,6
@@
cdef void disconnected (connection.PurpleConnection *gc):
cdef void notice (connection.PurpleConnection *gc, const_char *text):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"notice\n")
cdef void notice (connection.PurpleConnection *gc, const_char *text):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"notice\n")
- global connection_cbs
try:
(<object>connection_cbs["notice"])("notice")
except KeyError:
try:
(<object>connection_cbs["notice"])("notice")
except KeyError:
@@
-65,7
+61,6
@@
cdef void report_disconnect (connection.PurpleConnection *gc,
const_char *text):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"report_disconnect\n")
const_char *text):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"report_disconnect\n")
- global connection_cbs
try:
(<object>connection_cbs["report_disconnect"])("report_disconnect")
except KeyError:
try:
(<object>connection_cbs["report_disconnect"])("report_disconnect")
except KeyError:
@@
-74,7
+69,6
@@
cdef void report_disconnect (connection.PurpleConnection *gc,
cdef void network_connected ():
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"network_connected\n")
cdef void network_connected ():
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"network_connected\n")
- global connection_cbs
try:
(<object>connection_cbs["network_connected"])("network_connected")
except KeyError:
try:
(<object>connection_cbs["network_connected"])("network_connected")
except KeyError:
@@
-83,7
+77,6
@@
cdef void network_connected ():
cdef void network_disconnected ():
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"network_disconnected\n")
cdef void network_disconnected ():
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"network_disconnected\n")
- global connection_cbs
try:
(<object>connection_cbs["network_disconnected"])("network_disconnected")
except KeyError:
try:
(<object>connection_cbs["network_disconnected"])("network_disconnected")
except KeyError:
@@
-94,7
+87,6
@@
cdef void report_disconnect_reason (connection.PurpleConnection *gc,
const_char *text):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"report_disconnect_reason\n")
const_char *text):
debug.c_purple_debug(debug.PURPLE_DEBUG_INFO, "connection",
"report_disconnect_reason\n")
- global connection_cbs
try:
(<object>connection_cbs["report_disconnect_reason"])("report_disconnect_reason")
except KeyError:
try:
(<object>connection_cbs["report_disconnect_reason"])("report_disconnect_reason")
except KeyError: