/soc/2013/ankitkv/gobjectification: 694532725ec3: Removed macros...

Ankit Vani a at nevitus.org
Sun Jul 28 13:05:08 EDT 2013


Changeset: 694532725ec31e01becaec8745686eadd20839ad
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-07-28 22:34 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/694532725ec3

Description:

Removed macros for prpl that assume protocols ought to be a seperate type of plugin

diffstat:

 libpurple/prpl.h |  7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diffs (17 lines):

diff --git a/libpurple/prpl.h b/libpurple/prpl.h
--- a/libpurple/prpl.h
+++ b/libpurple/prpl.h
@@ -634,13 +634,6 @@ struct _PurplePluginProtocolInfo
 	(G_STRUCT_OFFSET(PurplePluginProtocolInfo, member) < prpl->struct_size && \
 	 prpl->member != NULL)
 
-
-#define PURPLE_IS_PROTOCOL_PLUGIN(plugin) \
-	((plugin)->info->type == PURPLE_PLUGIN_PROTOCOL)
-
-#define PURPLE_PLUGIN_PROTOCOL_INFO(plugin) \
-	((PurplePluginProtocolInfo *)(plugin)->info->extra_info)
-
 G_BEGIN_DECLS
 
 /**************************************************************************/



More information about the Commits mailing list