pidgin/gtkidle.c

changeset 42068
382ecbbf0080
parent 41947
7b3312d0760c
child 42410
563e7a17c220
equal deleted inserted replaced
42067:fcc390443714 42068:382ecbbf0080
48 /****************************************************************************** 48 /******************************************************************************
49 * PurpleIdleUi Implementation 49 * PurpleIdleUi Implementation
50 *****************************************************************************/ 50 *****************************************************************************/
51 #ifdef _WIN32 51 #ifdef _WIN32
52 static time_t 52 static time_t
53 pidgin_idle_get_idle_time(PurpleIdleUi *ui) { 53 pidgin_idle_get_idle_time(G_GNUC_UNUSED PurpleIdleUi *ui) {
54 return (GetTickCount() - winpidgin_get_lastactive()) / 1000; 54 return (GetTickCount() - winpidgin_get_lastactive()) / 1000;
55 } 55 }
56 #endif /* _WIN32 */ 56 #endif /* _WIN32 */
57 57
58 #ifdef HAVE_IOKIT 58 #ifdef HAVE_IOKIT

mercurial