/soc/2013/ankitkv/gobjectification: 9dca610b3bf2: Prepend newly-...

Ankit Vani a at nevitus.org
Wed Jan 22 15:22:39 EST 2014


Changeset: 9dca610b3bf210a415377a2dcc0e6f209ceee5fe
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-23 01:51 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/9dca610b3bf2

Description:

Prepend newly-loaded plugins to the loaded list

diffstat:

 libpurple/plugins.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/libpurple/plugins.c b/libpurple/plugins.c
--- a/libpurple/plugins.c
+++ b/libpurple/plugins.c
@@ -124,7 +124,7 @@ plugin_loaded_cb(GObject *manager, Purpl
 	if (!info)
 		return; /* a GPlugin internal plugin */
 
-	loaded_plugins = g_list_append(loaded_plugins, plugin);
+	loaded_plugins = g_list_prepend(loaded_plugins, plugin);
 
 	purple_debug_info("plugins", "Loaded plugin %s\n",
 	                  purple_plugin_get_filename(plugin));



More information about the Commits mailing list