gobjectification: 89f00aa1: Ooops, we have PurpleObject to work with
aluink at soc.pidgin.im
aluink at soc.pidgin.im
Tue Jun 23 00:50:21 EDT 2009
-----------------------------------------------------------------
Revision: 89f00aa1f4346e58e81a2a36ee93091333f9ce80
Ancestor: 4cf86b56db96606d6ead2894d789e1c80b4ff219
Author: aluink at soc.pidgin.im
Date: 2009-06-23T04:47:45
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/89f00aa1f4346e58e81a2a36ee93091333f9ce80
Modified files:
libpurple/blist-node.c libpurple/blist.h
ChangeLog:
Ooops, we have PurpleObject to work with
-------------- next part --------------
============================================================
--- libpurple/blist-node.c 44dfa0dd50dc64f1eb9a7a953705bd4d249232f0
+++ libpurple/blist-node.c 1d9d69456effeb49a012b9e649f08d4f721f1d72
@@ -669,7 +669,7 @@ purple_blist_node_get_gtype(void)
NULL /* value_table */
};
- type = g_type_register_static(G_TYPE_OBJECT,
+ type = g_type_register_static(PURPLE_TYPE_OBJECT,
"PurpleBlistNode",
&info, G_TYPE_FLAG_ABSTRACT);
}
============================================================
--- libpurple/blist.h ddf776b70c3803bc61b82c41446886bd01b6377b
+++ libpurple/blist.h bdd4ac50d1b8d7e7a6b754898ea5eca8d0b985ff
@@ -139,7 +139,7 @@ struct _PurpleBlistNode {
* This is a base class for PurpleBuddy, PurpleContact, PurpleGroup, and for
* anything else that wants to put itself in the buddy list. */
struct _PurpleBlistNode {
- GObject _parent;
+ PurpleObject _parent;
PurpleBlistNodeType type; /**< The type of node this is */
PurpleBlistNode *prev; /**< The sibling before this buddy. */
PurpleBlistNode *next; /**< The sibling after this buddy. */
@@ -157,7 +157,7 @@ struct _PurpleBlistNodeClass {
};
struct _PurpleBlistNodeClass {
- GObjectClass parent;
+ PurpleObjectClass parent;
};
#endif
@@ -178,7 +178,7 @@ struct _PurpleBuddyClass {
};
struct _PurpleBuddyClass {
- GObjectClass parent;
+ PurpleBlistNodeClass parent;
};
#endif
@@ -198,7 +198,7 @@ struct _PurpleContactClass {
};
struct _PurpleContactClass {
- GObjectClass parent;
+ PurpleBlistNodeClass parent;
};
#endif
@@ -216,7 +216,7 @@ struct _PurpleGroupClass {
};
struct _PurpleGroupClass {
- GObjectClass parent;
+ PurpleBlistNodeClass parent;
};
#endif
@@ -234,7 +234,7 @@ struct _PurpleChatClass {
};
struct _PurpleChatClass {
- GObjectClass parent;
+ PurpleBlistNodeClass parent;
};
#endif
More information about the Commits
mailing list