/soc/2013/ankitkv/gobjectification: 559d5d9d8a6c: Refactored the...
Ankit Vani
a at nevitus.org
Sat Aug 3 08:16:42 EDT 2013
Changeset: 559d5d9d8a6c2d595ac972e22a08e6b6da778266
Author: Ankit Vani <a at nevitus.org>
Date: 2013-08-03 16:37 +0530
Branch: soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/559d5d9d8a6c
Description:
Refactored the codebase to remove purple_plugins_free_found_list()
diffstat:
finch/gntplugin.c | 2 +-
libpurple/keyring.c | 2 +-
pidgin/gtkdialogs.c | 2 +-
pidgin/gtkplugin.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diffs (48 lines):
diff --git a/finch/gntplugin.c b/finch/gntplugin.c
--- a/finch/gntplugin.c
+++ b/finch/gntplugin.c
@@ -472,7 +472,7 @@ void finch_plugins_show_all(void)
g_object_unref(info);
}
- purple_plugins_free_found_list(plugin_list);
+ g_list_free(plugin_list);
gnt_tree_set_col_width(GNT_TREE(tree), 0, 30);
g_signal_connect(G_OBJECT(tree), "toggled", G_CALLBACK(plugin_toggled_cb), NULL);
diff --git a/libpurple/keyring.c b/libpurple/keyring.c
--- a/libpurple/keyring.c
+++ b/libpurple/keyring.c
@@ -1306,7 +1306,7 @@ purple_keyring_init(void)
purple_keyring_loaded_plugins, plugin);
}
}
- purple_plugins_free_found_list(plugins);
+ g_list_free(plugins);
if (purple_keyring_inuse == NULL)
purple_debug_error("keyring", "Selected keyring failed to load\n");
diff --git a/pidgin/gtkdialogs.c b/pidgin/gtkdialogs.c
--- a/pidgin/gtkdialogs.c
+++ b/pidgin/gtkdialogs.c
@@ -880,7 +880,7 @@ void pidgin_dialogs_plugins_info(void)
g_free(pauthor);
g_object_unref(info);
}
- purple_plugins_free_found_list(plugins);
+ g_list_free(plugins);
g_string_append(str, "</dl>");
diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c
--- a/pidgin/gtkplugin.c
+++ b/pidgin/gtkplugin.c
@@ -209,7 +209,7 @@ update_plugin_list(void *data)
g_object_unref(info);
}
- purple_plugins_free_found_list(plugins);
+ g_list_free(plugins);
}
static void plugin_loading_common(GPluginPlugin *plugin, GtkTreeView *view, gboolean loaded)
More information about the Commits
mailing list