Mercurial > pidgin.yaz
comparison src/gtkconv.h @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 02 Oct 2003 02:54:07 +0000 |
parents | feb3d21a7794 |
children | c7f0a4397d9e |
comparison
equal
deleted
inserted
replaced
7117:943085b0ff8b | 7118:bf630f7dfdcd |
---|---|
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_gtk_conversations_get_win_ui_ops()) | 206 (gaim_conv_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) == \ | 209 (gaim_conversation_get_ui_ops(conv) == \ |
210 gaim_gtk_conversations_get_conv_ui_ops()) | 210 gaim_gtk_conversations_get_conv_ui_ops()) |
211 | 211 |
224 /** | 224 /** |
225 * Returns the UI operations structure for GTK windows. | 225 * Returns the UI operations structure for GTK windows. |
226 * | 226 * |
227 * @return The GTK window operations structure. | 227 * @return The GTK window operations structure. |
228 */ | 228 */ |
229 GaimWindowUiOps *gaim_gtk_conversations_get_win_ui_ops(void); | 229 GaimConvWindowUiOps *gaim_gtk_conversations_get_win_ui_ops(void); |
230 | 230 |
231 /** | 231 /** |
232 * Returns the UI operations structure for GTK conversations. | 232 * Returns the UI operations structure for GTK conversations. |
233 * | 233 * |
234 * @return The GTK conversation operations structure. | 234 * @return The GTK conversation operations structure. |
297 * @param x The X coordinate. | 297 * @param x The X coordinate. |
298 * @param y The Y coordinate. | 298 * @param y The Y coordinate. |
299 * | 299 * |
300 * @return The GTK+ window at the location, if it exists, or @c NULL otherwise. | 300 * @return The GTK+ window at the location, if it exists, or @c NULL otherwise. |
301 */ | 301 */ |
302 GaimWindow *gaim_gtkwin_get_at_xy(int x, int y); | 302 GaimConvWindow *gaim_gtkwin_get_at_xy(int x, int y); |
303 | 303 |
304 /** | 304 /** |
305 * Returns the index of the tab at the specified X, Y location in a notebook. | 305 * Returns the index of the tab at the specified X, Y location in a notebook. |
306 * | 306 * |
307 * @param win The GTK+ window containing the notebook. | 307 * @param win The GTK+ window containing the notebook. |
308 * @param x The X coordinate. | 308 * @param x The X coordinate. |
309 * @param y The Y coordinate. | 309 * @param y The Y coordinate. |
310 * | 310 * |
311 * @return The index of the tab at the location. | 311 * @return The index of the tab at the location. |
312 */ | 312 */ |
313 int gaim_gtkconv_get_tab_at_xy(GaimWindow *win, int x, int y); | 313 int gaim_gtkconv_get_tab_at_xy(GaimConvWindow *win, int x, int y); |
314 | 314 |
315 /** | 315 /** |
316 * Returns the index of the destination tab at the | 316 * Returns the index of the destination tab at the |
317 * specified X, Y location in a notebook. | 317 * specified X, Y location in a notebook. |
318 * | 318 * |
323 * @param x The X coordinate. | 323 * @param x The X coordinate. |
324 * @param y The Y coordinate. | 324 * @param y The Y coordinate. |
325 * | 325 * |
326 * @return The index of the tab at the location. | 326 * @return The index of the tab at the location. |
327 */ | 327 */ |
328 int gaim_gtkconv_get_dest_tab_at_xy(GaimWindow *win, int x, int y); | 328 int gaim_gtkconv_get_dest_tab_at_xy(GaimConvWindow *win, int x, int y); |
329 | 329 |
330 /*@}*/ | 330 /*@}*/ |
331 | 331 |
332 #endif /* _GAIM_GTK_CONVERSATION_H_ */ | 332 #endif /* _GAIM_GTK_CONVERSATION_H_ */ |