pidgin: a95a8f0f: Fix a crash when setting a non account-s...
datallah at pidgin.im
datallah at pidgin.im
Fri May 28 09:41:05 EDT 2010
-----------------------------------------------------------------
Revision: a95a8f0f64c9ad8bcde4da9b2f4f1dff172e276d
Ancestor: fcca66333eb613450c541e03921f3344a8e9f185
Author: datallah at pidgin.im
Date: 2010-05-28T13:36:37
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a95a8f0f64c9ad8bcde4da9b2f4f1dff172e276d
Modified files:
pidgin/gtkblist.c
ChangeLog:
Fix a crash when setting a non account-specific mood and an enabled account is offline
-------------- next part --------------
============================================================
--- pidgin/gtkblist.c 13c1e422e251a301e1e938bcdcc4baa3f3f94fd5
+++ pidgin/gtkblist.c 7a26a39217a1d40f3639c84f8b6bc06ab53b620f
@@ -3455,7 +3455,7 @@ edit_mood_cb(PurpleConnection *gc, Purpl
PurpleAccount *account = (PurpleAccount *) accounts->data;
PurpleConnection *gc = purple_account_get_connection(account);
- if (gc->flags & PURPLE_CONNECTION_SUPPORT_MOODS) {
+ if (gc && gc->flags & PURPLE_CONNECTION_SUPPORT_MOODS) {
update_status_with_mood(account, mood, NULL);
}
}
More information about the Commits
mailing list