Mercurial > pidgin
comparison src/gtkconv.h @ 7035:feb3d21a7794
[gaim-migrate @ 7598]
Standardized the UI op accessor functions in every file. They're now
properly namespaced.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Mon, 29 Sep 2003 23:39:02 +0000 |
parents | 8eebba08b44b |
children | bf630f7dfdcd |
comparison
equal
deleted
inserted
replaced
7034:f7ff0dfa6b9f | 7035:feb3d21a7794 |
---|---|
201 | 201 |
202 #define GAIM_GTK_CONVERSATION(conv) \ | 202 #define GAIM_GTK_CONVERSATION(conv) \ |
203 ((GaimGtkConversation *)(conv)->ui_data) | 203 ((GaimGtkConversation *)(conv)->ui_data) |
204 | 204 |
205 #define GAIM_IS_GTK_WINDOW(win) \ | 205 #define GAIM_IS_GTK_WINDOW(win) \ |
206 (gaim_window_get_ui_ops(win) == gaim_get_gtk_window_ui_ops()) | 206 (gaim_window_get_ui_ops(win) == gaim_gtk_conversations_get_win_ui_ops()) |
207 | 207 |
208 #define GAIM_IS_GTK_CONVERSATION(conv) \ | 208 #define GAIM_IS_GTK_CONVERSATION(conv) \ |
209 (gaim_conversation_get_ui_ops(conv) == gaim_get_gtk_conversation_ui_ops()) | 209 (gaim_conversation_get_ui_ops(conv) == \ |
210 gaim_gtk_conversations_get_conv_ui_ops()) | |
210 | 211 |
211 /*@}*/ | 212 /*@}*/ |
212 | 213 |
213 /************************************************************************** | 214 /************************************************************************** |
214 * @name GTK+ Conversation API | 215 * @name GTK+ Conversation API |
216 /*@{*/ | 217 /*@{*/ |
217 | 218 |
218 /** | 219 /** |
219 * Initializes the GTK+ conversation system. | 220 * Initializes the GTK+ conversation system. |
220 */ | 221 */ |
221 void gaim_gtk_conversation_init(void); | 222 void gaim_gtk_conversations_init(void); |
222 | 223 |
223 /** | 224 /** |
224 * Returns the UI operations structure for GTK windows. | 225 * Returns the UI operations structure for GTK windows. |
225 * | 226 * |
226 * @return The GTK window operations structure. | 227 * @return The GTK window operations structure. |
227 */ | 228 */ |
228 GaimWindowUiOps *gaim_get_gtk_window_ui_ops(void); | 229 GaimWindowUiOps *gaim_gtk_conversations_get_win_ui_ops(void); |
229 | 230 |
230 /** | 231 /** |
231 * Returns the UI operations structure for GTK conversations. | 232 * Returns the UI operations structure for GTK conversations. |
232 * | 233 * |
233 * @return The GTK conversation operations structure. | 234 * @return The GTK conversation operations structure. |
234 */ | 235 */ |
235 GaimConversationUiOps *gaim_get_gtk_conversation_ui_ops(void); | 236 GaimConversationUiOps *gaim_gtk_conversations_get_conv_ui_ops(void); |
236 | 237 |
237 /** | 238 /** |
238 * Updates the buddy icon on a conversation. | 239 * Updates the buddy icon on a conversation. |
239 * | 240 * |
240 * @param conv The conversation. | 241 * @param conv The conversation. |