/soc/2013/ankitkv/gobjectification: 918f28ea0e78: set ui_data to...

Ankit Vani a at nevitus.org
Sun Jun 30 06:31:18 EDT 2013


Changeset: 918f28ea0e78483baf673d8d34faf7f6c271c90e
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-06-30 16:01 +0530
Branch:	 soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/918f28ea0e78

Description:

set ui_data to NULL after setting ui_ops in gtkconv

diffstat:

 pidgin/gtkconv.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -8423,8 +8423,8 @@ pidgin_conv_attach(PurpleConversation *c
 	g_object_set_data(G_OBJECT(conv), "unseen-count", NULL);
 	g_object_set_data(G_OBJECT(conv), "unseen-state", NULL);
 	purple_conversation_set_ui_ops(conv, pidgin_conversations_get_conv_ui_ops());
-	if (!PIDGIN_CONVERSATION(conv))
-		private_gtkconv_new(conv, FALSE);
+	purple_conversation_set_ui_data(conv, NULL);
+	private_gtkconv_new(conv, FALSE);
 	timer = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(conv), "close-timer"));
 	if (timer) {
 		purple_timeout_remove(timer);



More information about the Commits mailing list