| 317 PURPLE_CALLBACK(signing_off_cb), NULL); |
325 PURPLE_CALLBACK(signing_off_cb), NULL); |
| 318 |
326 |
| 319 purple_prefs_connect_callback(purple_idle_get_handle(), "/purple/away/idle_reporting", |
327 purple_prefs_connect_callback(purple_idle_get_handle(), "/purple/away/idle_reporting", |
| 320 idle_reporting_cb, NULL); |
328 idle_reporting_cb, NULL); |
| 321 |
329 |
| 322 purple_idle_touch(); |
330 /* Initialize the idleness asynchronously so it doesn't check idleness, |
| |
331 * and potentially try to change the status before the UI is initialized */ |
| |
332 g_idle_add(_do_purple_idle_touch_cb, NULL); |
| |
333 |
| 323 } |
334 } |
| 324 |
335 |
| 325 void |
336 void |
| 326 purple_idle_uninit() |
337 purple_idle_uninit() |
| 327 { |
338 { |