| 321 purple_signal_connect(purple_connections_get_handle(), "signing-off", |
321 purple_signal_connect(purple_connections_get_handle(), "signing-off", |
| 322 purple_idle_get_handle(), |
322 purple_idle_get_handle(), |
| 323 PURPLE_CALLBACK(signing_off_cb), NULL); |
323 PURPLE_CALLBACK(signing_off_cb), NULL); |
| 324 |
324 |
| 325 purple_prefs_connect_callback(purple_idle_get_handle(), "/purple/away/idle_reporting", |
325 purple_prefs_connect_callback(purple_idle_get_handle(), "/purple/away/idle_reporting", |
| 326 idle_reporting_cb, NULL) |
326 idle_reporting_cb, NULL); |
| 327 |
327 |
| 328 purple_idle_touch(); |
328 purple_idle_touch(); |
| 329 } |
329 } |
| 330 |
330 |
| 331 void |
331 void |