comparison src/conversation.c @ 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 083d1e4a9c78
children 7fd2fd7c6980
comparison
equal deleted inserted replaced
7034:f7ff0dfa6b9f 7035:feb3d21a7794
369 369
370 win = g_new0(GaimWindow, 1); 370 win = g_new0(GaimWindow, 1);
371 371
372 windows = g_list_append(windows, win); 372 windows = g_list_append(windows, win);
373 373
374 win->ui_ops = gaim_get_win_ui_ops(); 374 win->ui_ops = gaim_conversations_get_win_ui_ops();
375 375
376 if (win->ui_ops != NULL && win->ui_ops->new_window != NULL) 376 if (win->ui_ops != NULL && win->ui_ops->new_window != NULL)
377 win->ui_ops->new_window(win); 377 win->ui_ops->new_window(win);
378 378
379 return win; 379 return win;
2493 2493
2494 gaim_conversation_foreach(gaim_conversation_autoset_title); 2494 gaim_conversation_foreach(gaim_conversation_autoset_title);
2495 } 2495 }
2496 2496
2497 void 2497 void
2498 gaim_set_win_ui_ops(GaimWindowUiOps *ops) 2498 gaim_conversations_set_win_ui_ops(GaimWindowUiOps *ops)
2499 { 2499 {
2500 win_ui_ops = ops; 2500 win_ui_ops = ops;
2501 } 2501 }
2502 2502
2503 GaimWindowUiOps * 2503 GaimWindowUiOps *
2504 gaim_get_win_ui_ops(void) 2504 gaim_conversations_get_win_ui_ops(void)
2505 { 2505 {
2506 return win_ui_ops; 2506 return win_ui_ops;
2507 } 2507 }
2508 2508
2509 void * 2509 void *