/pidgin/main: e191a49482a6: Fixed re-opening of persistent conve...
Ankit Vani
a at nevitus.org
Fri Dec 6 15:02:32 EST 2013
Changeset: e191a49482a612b692f0d1801db193a03c7a94a2
Author: Ankit Vani <a at nevitus.org>
Date: 2013-12-07 01:29 +0530
Branch: default
URL: https://hg.pidgin.im/pidgin/main/rev/e191a49482a6
Description:
Fixed re-opening of persistent conversations
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
@@ -8564,8 +8564,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());
- purple_conversation_set_ui_data(conv, NULL);
- private_gtkconv_new(conv, FALSE);
+ if (!PIDGIN_CONVERSATION(conv))
+ 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