# HG changeset patch # User Herman Bloggs # Date 1044488950 0 # Node ID de9f45c815df2506b03c892e7db8d158dc2edd4b # Parent 5af18fcc07769de6381e636aa3d7c706001d988d [gaim-migrate @ 4814] idletrack.h committer: Tailor Script diff -r 5af18fcc0776 -r de9f45c815df src/win32/win32dep.c --- a/src/win32/win32dep.c Wed Feb 05 23:46:41 2003 +0000 +++ b/src/win32/win32dep.c Wed Feb 05 23:49:10 2003 +0000 @@ -18,7 +18,7 @@ #include "MinimizeToTray.h" #include "systray.h" #include "winuser_extra.h" -#include "IdleTracker.h" +#include "idletrack.h" /* * DEFINES & MACROS @@ -287,8 +287,8 @@ /* * IdleTracker Initialization */ - if(!IdleTrackerInit()) - debug_printf("IdleTracker failed to initialize\n"); + if(!wgaim_set_idlehooks()) + debug_printf("Failed to initialize idle tracker\n"); } /* Windows Cleanup */ @@ -299,8 +299,8 @@ /* winsock cleanup */ WSACleanup( ); - /* IdleTracker cleanup */ - IdleTrackerTerm(); + /* Idle tracker cleanup */ + wgaim_remove_idlehooks(); /* Remove systray icon */ wgaim_systray_cleanup();