/soc/2013/ankitkv/gobjectification: 854204c05f70: Assign PurpleC...
Ankit Vani
a at nevitus.org
Fri Jun 28 15:49:33 EDT 2013
Changeset: 854204c05f70b8dd34fc44120da00fc7213d3911
Author: Ankit Vani <a at nevitus.org>
Date: 2013-06-29 01:19 +0530
Branch: soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/854204c05f70
Description:
Assign PurpleChatConversationBuddy initialization properties directly
diffstat:
libpurple/conversationtypes.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff --git a/libpurple/conversationtypes.c b/libpurple/conversationtypes.c
--- a/libpurple/conversationtypes.c
+++ b/libpurple/conversationtypes.c
@@ -1939,7 +1939,7 @@ purple_chat_conversation_buddy_set_prope
switch (param_id) {
case CB_PROP_CHAT:
- purple_chat_conversation_buddy_set_chat(cb, g_value_get_object(value));
+ priv->chat = g_value_get_object(value);
break;
case CB_PROP_NAME:
g_free(priv->name);
@@ -1953,7 +1953,7 @@ purple_chat_conversation_buddy_set_prope
priv->buddy = g_value_get_boolean(value);
break;
case CB_PROP_FLAGS:
- purple_chat_conversation_buddy_set_flags(cb, g_value_get_flags(value));
+ priv->flags = g_value_get_flags(value);
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(obj, param_id, pspec);
More information about the Commits
mailing list