comparison src/gtkconv.h @ 4465:6e37eb000b7a

[gaim-migrate @ 4740] Renamed _ops to _ui_ops for conversation-related stuff. Trying to standardize on a naming scheme before I do anything else. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 30 Jan 2003 01:43:35 +0000
parents a65555132674
children 5cdfd20daa07
comparison
equal deleted inserted replaced
4464:e926d3bdfd14 4465:6e37eb000b7a
173 173
174 #define GAIM_GTK_CONVERSATION(conv) \ 174 #define GAIM_GTK_CONVERSATION(conv) \
175 ((struct gaim_gtk_conversation *)(conv)->ui_data) 175 ((struct gaim_gtk_conversation *)(conv)->ui_data)
176 176
177 #define GAIM_IS_GTK_WINDOW(win) \ 177 #define GAIM_IS_GTK_WINDOW(win) \
178 (gaim_window_get_ops(win) == gaim_get_gtk_window_ops()) 178 (gaim_window_get_ui_ops(win) == gaim_get_gtk_window_ui_ops())
179 179
180 #define GAIM_IS_GTK_CONVERSATION(conv) \ 180 #define GAIM_IS_GTK_CONVERSATION(conv) \
181 (gaim_conversation_get_ops(conv) == gaim_get_gtk_conversation_ops()) 181 (gaim_conversation_get_ui_ops(conv) == gaim_get_gtk_conversation_ui_ops())
182 182
183 /************************************************************************** 183 /**************************************************************************
184 * @name GTK+ Conversation API 184 * @name GTK+ Conversation API
185 **************************************************************************/ 185 **************************************************************************/
186 /** 186 /**
187 * Returns the UI operations structure for GTK windows. 187 * Returns the UI operations structure for GTK windows.
188 * 188 *
189 * @return The GTK window operations structure. 189 * @return The GTK window operations structure.
190 */ 190 */
191 struct gaim_window_ops *gaim_get_gtk_window_ops(void); 191 struct gaim_window_ui_ops *gaim_get_gtk_window_ui_ops(void);
192 192
193 /** 193 /**
194 * Returns the UI operations structure for GTK conversations. 194 * Returns the UI operations structure for GTK conversations.
195 * 195 *
196 * @return The GTK conversation operations structure. 196 * @return The GTK conversation operations structure.
197 */ 197 */
198 struct gaim_conversation_ops *gaim_get_gtk_conversation_ops(void); 198 struct gaim_conversation_ui_ops *gaim_get_gtk_conversation_ui_ops(void);
199 199
200 /** 200 /**
201 * Sets a lock on the update state. 201 * Sets a lock on the update state.
202 * 202 *
203 * @param lock The lock state. 203 * @param lock The lock state.