# HG changeset patch # User Christian Hammond # Date 1054976951 0 # Node ID 217d24d11b6e6981d1a44cb20ac9f4a56b5d1bf3 # Parent 950db07bb35a76d9346252efd11699ec3f6c9bdf [gaim-migrate @ 6223] it was partly my stupidity :) committer: Tailor Script diff -r 950db07bb35a -r 217d24d11b6e plugins/win32/winprefs/winprefs.c --- 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 ", 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);