changeset 4535:de9f45c815df

[gaim-migrate @ 4814] idletrack.h committer: Tailor Script <tailor@pidgin.im>
author Herman Bloggs <hermanator12002@yahoo.com>
date Wed, 05 Feb 2003 23:49:10 +0000
parents 5af18fcc0776
children ba99d30afc14
files src/win32/win32dep.c
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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();