Mercurial > pidgin
comparison src/gtkconv.h @ 4384:8f633419c837
[gaim-migrate @ 4650]
Some utility macros for determining if a conversation or window uses the
GTK+ UI. I'll make use of these later.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 22 Jan 2003 03:12:21 +0000 |
parents | 5fb47ec9bfe4 |
children | bdab2840ef4c |
comparison
equal
deleted
inserted
replaced
4383:f7a84034f97f | 4384:8f633419c837 |
---|---|
174 ((struct gaim_gtk_window *)(win)->ui_data) | 174 ((struct gaim_gtk_window *)(win)->ui_data) |
175 | 175 |
176 #define GAIM_GTK_CONVERSATION(conv) \ | 176 #define GAIM_GTK_CONVERSATION(conv) \ |
177 ((struct gaim_gtk_conversation *)(conv)->ui_data) | 177 ((struct gaim_gtk_conversation *)(conv)->ui_data) |
178 | 178 |
179 #define GAIM_IS_GTK_WINDOW(win) \ | |
180 (gaim_window_get_ops(win) == gaim_get_gtk_window_ops()) | |
181 | |
182 #define GAIM_IS_GTK_CONVERSATION(conv) \ | |
183 (gaim_conversation_get_ops(win) == gaim_get_gtk_conversation_ops()) | |
179 | 184 |
180 /************************************************************************** | 185 /************************************************************************** |
181 * @name GTK+ Conversation API | 186 * @name GTK+ Conversation API |
182 **************************************************************************/ | 187 **************************************************************************/ |
183 /** | 188 /** |