gobjectification: 274289d5: Fixed some of the struct hiding ifdefs

aluink at soc.pidgin.im aluink at soc.pidgin.im
Tue Jun 23 00:15:29 EDT 2009


-----------------------------------------------------------------
Revision: 274289d5e03233a0f724775fff66128aec183b98
Ancestor: 731119219643d9640f3a88bb08e456bd5e1d84ab
Author: aluink at soc.pidgin.im
Date: 2009-06-22T17:11:11
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/274289d5e03233a0f724775fff66128aec183b98

Modified files:
        libpurple/blist.h

ChangeLog: 

Fixed some of the struct hiding ifdefs

-------------- next part --------------
============================================================
--- libpurple/blist.h	025b23b1e0e43ac016fe9b51d71dbc6dd470b453
+++ libpurple/blist.h	e032a592749e232317437f575e41c7e7a574f643
@@ -133,7 +133,7 @@ typedef enum
 /* Data Structures                                                        */
 /**************************************************************************/
 
-#if !(defined PURPLE_HIDE_STRUCTS) || (defined _PURPLE_BLIST_C_)
+#if !(defined PURPLE_HIDE_STRUCTS) || (defined _PURPLE_BLIST_NODE_C_)
 
 /**
  * A Buddy list node.  This can represent a group, a buddy, or anything else.
@@ -161,6 +161,9 @@ struct _PurpleBlistNodeClass {
   GObjectClass parent;
 };
 
+#endif
+#if !(defined PURPLE_HIDE_STRUCTS) || (defined _PURPLE_BUDDY_C_)
+
 /**
  * A buddy.  This contains everything Purple will ever need to know about someone on the buddy list.  Everything.
  */
@@ -175,6 +178,9 @@ struct _PurpleBuddy {
 	PurplePresence *presence;
 };
 
+#endif
+#if !(defined PURPLE_HIDE_STRUCTS) || (defined _PURPLE_CONTACT_C_)
+
 /**
  * A contact.  This contains everything Purple will ever need to know about a contact.
  */
@@ -188,6 +194,8 @@ struct _PurpleContact {
 	gboolean priority_valid; /**< Is priority valid? */
 };
 
+#endif
+#if !(defined PURPLE_HIDE_STRUCTS) || (defined _PURPLE_GROUP_C_)
 
 /**
  * A group.  This contains everything Purple will ever need to know about a group.
@@ -200,6 +208,9 @@ struct _PurpleGroup {
 	int online;			       /**< The number of chats and contacts in this group who are currently online */
 };
 
+#endif
+#if !(defined PURPLE_HIDE_STRUCTS) || (defined _PURPLE_CHAT_C_)
+
 /**
  * A chat.  This contains everything Purple needs to put a chat room in the
  * buddy list.
@@ -211,6 +222,9 @@ struct _PurpleChat {
 	PurpleAccount *account; /**< The account this chat is attached to */
 };
 
+#endif
+#if !(defined PURPLE_HIDE_STRUCTS) || (defined _PURPLE_BLIST_C_)
+
 /**
  * The Buddy List
  */


More information about the Commits mailing list