Mercurial > pidgin
diff plugins/win32/winprefs/winprefs.c @ 5854:14891982dbee
[gaim-migrate @ 6285]
Update to new prefs api and new debug api. Thanks SimGuy3k
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Fri, 13 Jun 2003 16:49:00 +0000 |
parents | 217d24d11b6e |
children | b3c412884a22 |
line wrap: on
line diff
--- a/plugins/win32/winprefs/winprefs.c Fri Jun 13 11:06:49 2003 +0000 +++ b/plugins/win32/winprefs/winprefs.c Fri Jun 13 16:49:00 2003 +0000 @@ -29,7 +29,7 @@ /* * MACROS & DEFINES */ -#define WINPREFS_PLUGIN_ID "gaim-winprefs" +#define WINPREFS_PLUGIN_ID "gtk-win-prefs" #define WINPREFS_VERSION 1 /* @@ -63,7 +63,7 @@ "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", 0, samDesired, phKey)); else { - gaim_debug(3, WINPREFS_PLUGIN_ID, "open_run_key: Could not open key for writing value\n"); + gaim_debug(GAIM_DEBUG_ERROR, WINPREFS_PLUGIN_ID, "open_run_key: Could not open key for writing value\n"); return 0; } return 1; @@ -83,7 +83,7 @@ if((size = GetModuleFileName(wgaim_hinstance(), (LPBYTE)buffer, sizeof(buffer)))==0) { - gaim_debug(3, WINPREFS_PLUGIN_ID, "GetModuleFileName Error.. Could not set Gaim autostart.\n"); + gaim_debug(GAIM_DEBUG_ERROR, WINPREFS_PLUGIN_ID, "GetModuleFileName Error.. Could not set Gaim autostart.\n"); RegCloseKey(hKey); return; } @@ -94,11 +94,11 @@ REG_SZ, buffer, size)) - gaim_debug(3, WINPREFS_PLUGIN_ID, "Could not set registry key value\n"); + gaim_debug(GAIM_DEBUG_ERROR, WINPREFS_PLUGIN_ID, "Could not set registry key value\n"); } else { if(ERROR_SUCCESS != RegDeleteValue(hKey, "Gaim")) - gaim_debug(3, WINPREFS_PLUGIN_ID, "Could not delete registry key value\n"); + gaim_debug(GAIM_DEBUG_ERROR, WINPREFS_PLUGIN_ID, "Could not delete registry key value\n"); } RegCloseKey(hKey); }