/soc/2013/ankitkv/gobjectification: 73563f49084c: Added debug me...
Ankit Vani
a at nevitus.org
Tue Oct 1 20:40:13 EDT 2013
Changeset: 73563f49084c52436b71253d2ce638674533a417
Author: Ankit Vani <a at nevitus.org>
Date: 2013-10-02 06:10 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/73563f49084c
Description:
Added debug messages for protocol add and remove
diffstat:
libpurple/protocols.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (23 lines):
diff --git a/libpurple/protocols.c b/libpurple/protocols.c
--- a/libpurple/protocols.c
+++ b/libpurple/protocols.c
@@ -837,6 +837,9 @@ purple_protocols_add(GType protocol_type
g_hash_table_insert(protocols, g_strdup(purple_protocol_get_id(protocol)),
protocol);
+ purple_debug_info("protocols", "Added protocol %s\n",
+ purple_protocol_get_id(protocol));
+
purple_signal_emit(purple_protocols_get_handle(), "protocol-added",
protocol);
return protocol;
@@ -855,6 +858,9 @@ gboolean purple_protocols_remove(PurpleP
return FALSE;
}
+ purple_debug_info("protocols", "Removing protocol %s\n",
+ purple_protocol_get_id(protocol));
+
purple_signal_emit(purple_protocols_get_handle(), "protocol-removed",
protocol);
More information about the Commits
mailing list