Mercurial > pidgin
diff src/win32/systray.c @ 5084:a96653493416
[gaim-migrate @ 5439]
Fixed warnings (win32)
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Tue, 08 Apr 2003 18:36:50 +0000 |
parents | 651830ba3720 |
children | d635e8fe2fba |
line wrap: on
line diff
--- a/src/win32/systray.c Tue Apr 08 14:31:19 2003 +0000 +++ b/src/win32/systray.c Tue Apr 08 18:36:50 2003 +0000 @@ -12,6 +12,7 @@ #include "win32dep.h" #include "MinimizeToTray.h" #include "ui.h" +#include "gtklist.h" /* * DEFINES, MACROS & DATA TYPES @@ -291,15 +292,15 @@ /* create popup menu */ if((systray_menu = CreatePopupMenu())) { if(!AppendMenu(systray_menu, MF_STRING, SYSTRAY_CMND_PREFS, _("Preferences"))) - debug_printf("AppendMenu error: %d\n", GetLastError()); + debug_printf("AppendMenu error: %ld\n", GetLastError()); if(!AppendMenu(systray_menu, MF_STRING, SYSTRAY_CMND_AUTOLOGIN, _("Auto-login"))) - debug_printf("AppendMenu error: %d\n", GetLastError()); + debug_printf("AppendMenu error: %ld\n", GetLastError()); if(!AppendMenu(systray_menu, MF_SEPARATOR, 0, 0)) - debug_printf("AppendMenu error: %d\n", GetLastError()); + debug_printf("AppendMenu error: %ld\n", GetLastError()); if(!AppendMenu(systray_menu, MF_STRING, SYSTRAY_CMND_MENU_EXIT, _("Exit"))) - debug_printf("AppendMenu error: %d\n", GetLastError()); + debug_printf("AppendMenu error: %ld\n", GetLastError()); } else - debug_printf("CreatePopupMenu error: %d\n", GetLastError()); + debug_printf("CreatePopupMenu error: %ld\n", GetLastError()); } static void systray_init_icon(HWND hWnd, HICON icon) { @@ -339,6 +340,8 @@ case SYSTRAY_STATE_AWAY: systray_change_icon(sysicon_away, GAIM_SYSTRAY_AWAY_HINT); break; + case SYSTRAY_STATE_COUNT: /* not a state, here to avoid warning */ + default: } } @@ -389,10 +392,6 @@ systray_update_status(); } -static void st_im_recieve(struct gaim_connection *gc, void *data) { - -} - /* * PUBLIC CODE */