pidgin: 01d5e162: Use the existing convenience variable in...
qulogic at pidgin.im
qulogic at pidgin.im
Thu Jul 16 01:20:36 EDT 2009
-----------------------------------------------------------------
Revision: 01d5e162e0d796e96df727bb20f12c2e2bfdd3d0
Ancestor: e4c32cad9d2c1ef8f8ff9e096994925bb314b762
Author: qulogic at pidgin.im
Date: 2009-07-16T05:15:42
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/01d5e162e0d796e96df727bb20f12c2e2bfdd3d0
Modified files:
libpurple/protocols/jabber/presence.c
ChangeLog:
Use the existing convenience variable instead of a couple of dereferences.
-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c bbc89f0635d31b781ed5447c010445a819e9969e
+++ libpurple/protocols/jabber/presence.c f8308542038a7e386158bc546df883e3f623f623
@@ -91,9 +91,9 @@ void jabber_presence_fake_to_self(Jabber
}
if ((jbr = jabber_buddy_find_resource(jb, NULL))) {
- purple_prpl_got_user_status(js->gc->account, username, jabber_buddy_state_get_status_id(jbr->state), "priority", jbr->priority, jbr->status ? "message" : NULL, jbr->status, NULL);
+ purple_prpl_got_user_status(account, username, jabber_buddy_state_get_status_id(jbr->state), "priority", jbr->priority, jbr->status ? "message" : NULL, jbr->status, NULL);
} else {
- purple_prpl_got_user_status(js->gc->account, username, "offline", msg ? "message" : NULL, msg, NULL);
+ purple_prpl_got_user_status(account, username, "offline", msg ? "message" : NULL, msg, NULL);
}
g_free(msg);
}
More information about the Commits
mailing list