diff options
author | Eion Robb <eion@robbmob.com> | 2011-01-16 01:49:11 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2011-01-16 01:49:11 +0300 |
commit | 110201bd8ff7a9ccbba929d96b7f917b9ffd145f (patch) | |
tree | 9cb221fba18ec365bc21cf357a05d675f301591b /skype_events.c | |
parent | 9d2a1f6881a0b0f677d0fe0ea77f00425e9e9b3a (diff) |
Jiggle around the connection methods so that not connecting to Skype isn't fatal (so doesn't need the account to be re-enabled) and clean up some memory if connecting on X11
Diffstat (limited to 'skype_events.c')
-rw-r--r-- | skype_events.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/skype_events.c b/skype_events.c index 2c5c93d..bcb494a 100644 --- a/skype_events.c +++ b/skype_events.c @@ -139,7 +139,7 @@ skype_handle_received_message(char *message) { //need to make this synchronous :( if (gc != NULL) - purple_connection_error(gc, _("\nSkype program closed")); + purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("\nSkype program closed")); //purple_timeout_add(0, (GSourceFunc)skype_sync_skype_close, gc); } } else if (g_str_equal(command, "USER")) @@ -1101,7 +1101,7 @@ gboolean skype_sync_skype_close(PurpleConnection *gc) { if (gc != NULL) - purple_connection_error(gc, _("\nSkype program closed")); + purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_NETWORK_ERROR, _("\nSkype program closed")); return FALSE; } |