/soc/2013/ankitkv/gobjectification: 00500af0e91f: Use gplugin_pl...

Ankit Vani a at nevitus.org
Fri Aug 2 06:53:22 EDT 2013


Changeset: 00500af0e91f0d5ad2190a5298d875a1434677c4
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-02 15:45 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/00500af0e91f

Description:

Use gplugin_plugin_manager_refresh() instead of probing for G_MODULE_SUFFIX

diffstat:

 finch/gntplugin.c  |  2 ++
 pidgin/gtkplugin.c |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff --git a/finch/gntplugin.c b/finch/gntplugin.c
--- a/finch/gntplugin.c
+++ b/finch/gntplugin.c
@@ -412,6 +412,8 @@ void finch_plugins_show_all(void)
 		return;
 	}
 
+	gplugin_plugin_manager_refresh();
+
 	plugins.window = window = gnt_vbox_new(FALSE);
 	gnt_box_set_toplevel(GNT_BOX(window), TRUE);
 	gnt_box_set_title(GNT_BOX(window), _("Plugins"));
diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -144,7 +144,7 @@ update_plugin_list(void *data)
 	PurplePlugin *plug;
 
 	gtk_list_store_clear(ls);
-	purple_plugins_probe(G_MODULE_SUFFIX);
+	gplugin_plugin_manager_refresh();
 
 	for (probes = purple_plugins_get_all();
 		 probes != NULL;



More information about the Commits mailing list