diff 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
line wrap: on
line diff
--- a/src/ft.c	Sun Jul 20 03:30:43 2003 +0000
+++ b/src/ft.c	Sun Jul 20 03:44:39 2003 +0000
@@ -23,6 +23,7 @@
 #include "internal.h"
 #include "ft.h"
 #include "notify.h"
+#include "prefs.h"
 #include "proxy.h"
 
 static GaimXferUiOps *xfer_ui_ops = NULL;
@@ -697,6 +698,13 @@
 }
 
 void
+gaim_xfer_init(void)
+{
+	gaim_prefs_add_none("/core/ft");
+	gaim_prefs_add_string("/core/ft/public_ip", "");
+}
+
+void
 gaim_set_xfer_ui_ops(GaimXferUiOps *ops)
 {
 	g_return_if_fail(ops != NULL);