| 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 |