| 245 |
245 |
| 246 return TRUE; |
246 return TRUE; |
| 247 } else if (wparam == PBT_APMRESUMESUSPEND) { |
247 } else if (wparam == PBT_APMRESUMESUSPEND) { |
| 248 purple_debug_info("winpidgin", "Resuming from system standby.\n"); |
248 purple_debug_info("winpidgin", "Resuming from system standby.\n"); |
| 249 /* TODO: It seems like it'd be wise to use the NLA message, if possible, instead of this. */ |
249 /* TODO: It seems like it'd be wise to use the NLA message, if possible, instead of this. */ |
| 250 purple_timeout_add_seconds(1, winpidgin_pwm_reconnect, NULL); |
250 g_timeout_add_seconds(1, winpidgin_pwm_reconnect, NULL); |
| 251 return TRUE; |
251 return TRUE; |
| 252 } |
252 } |
| 253 } |
253 } |
| 254 |
254 |
| 255 return DefWindowProc(hwnd, msg, wparam, lparam); |
255 return DefWindowProc(hwnd, msg, wparam, lparam); |