diff options
author | Eion Robb <eion@robbmob.com> | 2011-11-29 08:05:26 +0400 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2011-11-29 08:05:26 +0400 |
commit | 8a3d5b7b0ec8d479e16e23cc3926b787efb13f28 (patch) | |
tree | b977ee0b4c3c35875b86174fbe57c3594ef0882b | |
parent | 587e52ade7af71cc7e4bbdb303d6d244f5491221 (diff) |
Chop out more filesystem/spawn code for instantbird
-rw-r--r-- | libskype.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1392,6 +1392,7 @@ skype_update_buddy_icon(PurpleBuddy *buddy) acct = purple_buddy_get_account(buddy); +#ifndef INSTANTBIRD if (api_supports_avatar == 1 || api_supports_avatar == -1) { fh = g_file_open_tmp("skypeXXXXXX", &filename, &error); @@ -1421,7 +1422,6 @@ skype_update_buddy_icon(PurpleBuddy *buddy) g_error_free(error); } } -#ifndef INSTANTBIRD if (api_supports_avatar == 2 || api_supports_avatar == -1) { const gchar *userfiles[] = {"user256", "user1024", "user4096", "user16384", "user32768", "user65536", @@ -1624,6 +1624,7 @@ skype_login(PurpleAccount *acct) if (!skype_connect()) { +#ifndef INSTANTBIRD if (purple_account_get_bool(acct, "skype_autostart", TRUE)) { skype_debug_info("skype", "Should I start Skype?\n"); @@ -1645,6 +1646,7 @@ skype_login(PurpleAccount *acct) return; } } +#endif purple_timeout_add_seconds(10, (GSourceFunc) skype_login_retry, acct); return; } |