summaryrefslogtreecommitdiff
path: root/pidgin/gtkconv.h
diff options
context:
space:
mode:
authorAnkit Vani <a@nevitus.org>2013-06-29 23:05:41 +0530
committerAnkit Vani <a@nevitus.org>2013-06-29 23:05:41 +0530
commitb973cf3843cf9ed7d5c997eb72ec58e02f3a8601 (patch)
tree3e12f100ec45b512e53fc41615fb7235b9eba005 /pidgin/gtkconv.h
parent043280e862ad8490c7c13af53f3a24c2b7c41057 (diff)
downloadpidgin-b973cf3843cf9ed7d5c997eb72ec58e02f3a8601.tar.gz
Move ui_data to the object struct and remove getters and setters. It will be used as UI pleases.
Added ui_data field to the following structs: - PurpleAccount - PurpleConversation - PurpleChatUser
Diffstat (limited to 'pidgin/gtkconv.h')
-rw-r--r--pidgin/gtkconv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidgin/gtkconv.h b/pidgin/gtkconv.h
index bc0c1fad6e..53b9e0cee9 100644
--- a/pidgin/gtkconv.h
+++ b/pidgin/gtkconv.h
@@ -56,7 +56,7 @@ enum {
};
#define PIDGIN_CONVERSATION(conv) \
- ((PidginConversation *)purple_conversation_get_ui_data(conv))
+ ((PidginConversation *)((conv)->ui_data))
#define PIDGIN_IS_PIDGIN_CONVERSATION(conv) \
(purple_conversation_get_ui_ops(conv) == \