soc.2010.detachablepurple: 4cfc6337: Moved the group properties enumeration f...

gillux at soc.pidgin.im gillux at soc.pidgin.im
Mon Aug 9 23:58:29 EDT 2010


----------------------------------------------------------------------
Revision: 4cfc63379523dfeab75dd298e071368b57b9811b
Parent:   6d0f25b33275f33bc3e099bbe8d9aa26d58948da
Author:   gillux at soc.pidgin.im
Date:     08/08/10 15:50:21
Branch:   im.pidgin.soc.2010.detachablepurple
URL: http://d.pidgin.im/viewmtn/revision/info/4cfc63379523dfeab75dd298e071368b57b9811b

Changelog: 

Moved the group properties enumeration from the end of the file to the
beginning, so that we can use these in the middle.

Changes against parent 6d0f25b33275f33bc3e099bbe8d9aa26d58948da

  patched  libpurple/group.c

-------------- next part --------------
============================================================
--- libpurple/group.c	0efcce7aefa9e23730dd94e864127a3f7e46bae7
+++ libpurple/group.c	5a9c00e357a22ca6d5e33e5efcfc18670a0452b9
@@ -43,6 +43,14 @@ struct _PurpleGroupPrivate {
 	int online;			       /**< The number of chats and contacts in this group who are currently online */
 };
 
+enum {
+	PROP_0,
+	PROP_NAME,
+	PROP_LAST
+};
+
+#define PROP_NAME_S "name"
+
 xmlnode *
 group_to_xmlnode(PurpleBlistNode *gnode)
 {
@@ -308,14 +316,6 @@ purple_group_set_name(PurpleGroup *group
 /*  GObject Code  */
 /******************/
 
-enum {
-	PROP_0,
-	PROP_NAME,
-	PROP_LAST
-};
-
-#define PROP_NAME_S "name"
-
 PurpleGroup *purple_group_new(const char *name)
 {
 	PurpleGroup *group;


More information about the Commits mailing list