comparison src/ft.c @ 6241:9ce44a7f9ae7

[gaim-migrate @ 6735] We now initialize FT's preferences. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 20 Jul 2003 03:44:39 +0000
parents ac191233b816
children f0b0c5bca588
comparison
equal deleted inserted replaced
6240:ac191233b816 6241:9ce44a7f9ae7
21 * 21 *
22 */ 22 */
23 #include "internal.h" 23 #include "internal.h"
24 #include "ft.h" 24 #include "ft.h"
25 #include "notify.h" 25 #include "notify.h"
26 #include "prefs.h"
26 #include "proxy.h" 27 #include "proxy.h"
27 28
28 static GaimXferUiOps *xfer_ui_ops = NULL; 29 static GaimXferUiOps *xfer_ui_ops = NULL;
29 30
30 GaimXfer * 31 GaimXfer *
695 696
696 g_free(title); 697 g_free(title);
697 } 698 }
698 699
699 void 700 void
701 gaim_xfer_init(void)
702 {
703 gaim_prefs_add_none("/core/ft");
704 gaim_prefs_add_string("/core/ft/public_ip", "");
705 }
706
707 void
700 gaim_set_xfer_ui_ops(GaimXferUiOps *ops) 708 gaim_set_xfer_ui_ops(GaimXferUiOps *ops)
701 { 709 {
702 g_return_if_fail(ops != NULL); 710 g_return_if_fail(ops != NULL);
703 711
704 xfer_ui_ops = ops; 712 xfer_ui_ops = ops;