summaryrefslogtreecommitdiff
path: root/finch
diff options
context:
space:
mode:
authorAnkit Vani <a@nevitus.org>2013-06-30 15:37:05 +0530
committerAnkit Vani <a@nevitus.org>2013-06-30 15:37:05 +0530
commitd192fc01206cb7ac6ea057cd2658d822af5e5ae5 (patch)
treee29f11cbe2f1587a991c78a7d0e987dc949075b4 /finch
parentb973cf3843cf9ed7d5c997eb72ec58e02f3a8601 (diff)
downloadpidgin-d192fc01206cb7ac6ea057cd2658d822af5e5ae5.tar.gz
Backed out changeset f39c64847a3d
Diffstat (limited to 'finch')
-rw-r--r--finch/gntconv.c4
-rw-r--r--finch/gntconv.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/finch/gntconv.c b/finch/gntconv.c
index 6aa0cb4a8b..dbad8481bd 100644
--- a/finch/gntconv.c
+++ b/finch/gntconv.c
@@ -409,7 +409,7 @@ static void
conv_updated(PurpleConversation *conv, PurpleConversationUpdateType type)
{
if (type == PURPLE_CONVERSATION_UPDATE_FEATURES) {
- gg_extended_menu(conv->ui_data);
+ gg_extended_menu(purple_conversation_get_ui_data(conv));
}
}
@@ -796,7 +796,7 @@ finch_create_conversation(PurpleConversation *conv)
ggc->list = g_list_prepend(ggc->list, conv);
ggc->active_conv = conv;
- conv->ui_data = ggc;
+ purple_conversation_set_ui_data(conv, ggc);
if (cc && FINCH_CONV(cc) && cc != conv) {
finch_conversation_set_active(conv);
diff --git a/finch/gntconv.h b/finch/gntconv.h
index 93b798d441..3f512a9a80 100644
--- a/finch/gntconv.h
+++ b/finch/gntconv.h
@@ -33,7 +33,7 @@
#include "conversation.h"
/* Grabs the conv out of a PurpleConverstation */
-#define FINCH_CONV(conv) ((FinchConv *)((conv)->ui_data))
+#define FINCH_CONV(conv) ((FinchConv *)purple_conversation_get_ui_data(conv))
/***************************************************************************
* @name GNT Conversations API