changeset 5798:217d24d11b6e

[gaim-migrate @ 6223] <SimGuy> it was partly my stupidity :) committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 07 Jun 2003 09:09:11 +0000
parents 950db07bb35a
children cbff8a7bbde8
files plugins/win32/winprefs/winprefs.c
diffstat 1 files changed, 6 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/win32/winprefs/winprefs.c	Sat Jun 07 08:58:44 2003 +0000
+++ b/plugins/win32/winprefs/winprefs.c	Sat Jun 07 09:09:11 2003 +0000
@@ -131,15 +131,6 @@
 	return ret;
 }
 
-static gboolean plugin_load(GaimPlugin *plugin)
-{
-  gaim_prefs_add_none("/plugins/gtk/win32");
-  gaim_prefs_add_none("/plugins/gtk/win32/winprefs");
-  gaim_prefs_add_bool("/plugins/gtk/win32/winprefs/auto_start", FALSE);
-
-  return TRUE;
-}
-
 static GaimGtkPluginUiInfo ui_info =
 {
 	get_config_frame
@@ -160,7 +151,7 @@
 	N_("Options specific to Windows Gaim."),
 	"Herman Bloggs <hermanator12002@yahoo.com>",
 	WEBSITE,
-	plugin_load,
+	NULL,
 	NULL,
 	NULL,
 	&ui_info,
@@ -168,8 +159,11 @@
 };
 
 static void
-__init_plugin(GaimPlugin *plugin)
+init_plugin(GaimPlugin *plugin)
 {
+  gaim_prefs_add_none("/plugins/gtk/win32");
+  gaim_prefs_add_none("/plugins/gtk/win32/winprefs");
+  gaim_prefs_add_bool("/plugins/gtk/win32/winprefs/auto_start", FALSE);
 }
 
-GAIM_INIT_PLUGIN(winprefs, __init_plugin, info);
+GAIM_INIT_PLUGIN(winprefs, init_plugin, info);