pidgin: 5b55e544: I prefer this syntax. Plus, it's slight...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Nov 29 02:21:34 EST 2010
----------------------------------------------------------------------
Revision: 5b55e54444f895327a1bd0004528f37977869fdc
Parent: 1edea7e71d8eeae001fd5a4c90f75cf6bbdb11d3
Author: markdoliner at pidgin.im
Date: 11/29/10 01:03:44
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/5b55e54444f895327a1bd0004528f37977869fdc
Changelog:
I prefer this syntax. Plus, it's slightly faster... right?
Changes against parent 1edea7e71d8eeae001fd5a4c90f75cf6bbdb11d3
patched libpurple/upnp.c
-------------- next part --------------
============================================================
--- libpurple/upnp.c 28515515d7fd74e1d6da94ef74aa49dbb5417ccb
+++ libpurple/upnp.c 43b1d3b5c5adb4634b582237bff891a36c1b1eb8
@@ -162,9 +162,9 @@ fire_discovery_callbacks(gboolean succes
while(discovery_callbacks) {
gpointer data;
PurpleUPnPCallback cb = discovery_callbacks->data;
- discovery_callbacks = g_slist_remove(discovery_callbacks, cb);
+ discovery_callbacks = g_slist_delete_link(discovery_callbacks, discovery_callbacks);
data = discovery_callbacks->data;
- discovery_callbacks = g_slist_remove(discovery_callbacks, data);
+ discovery_callbacks = g_slist_delete_link(discovery_callbacks, discovery_callbacks);
cb(success, data);
}
}
More information about the Commits
mailing list