[gnome-software] trivial: Fix up a function name



commit 4413d575e9e901a6dd7fa4f386abcf5694796d1f
Author: Richard Hughes <richard hughsie com>
Date:   Thu Nov 24 20:38:29 2016 +0000

    trivial: Fix up a function name

 src/gs-plugin-loader.c |   40 ++++++++++++++++++++--------------------
 1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index a276829..55a1f9b 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -171,7 +171,7 @@ typedef struct {
 } GsPluginLoaderAsyncState;
 
 static void
-gs_plugin_loader_free_async_state (GsPluginLoaderAsyncState *state)
+gs_plugin_loader_async_state_free (GsPluginLoaderAsyncState *state)
 {
        if (state->category != NULL)
                g_object_unref (state->category);
@@ -1356,7 +1356,7 @@ gs_plugin_loader_get_updates_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_updates_thread_cb);
 }
 
@@ -1436,7 +1436,7 @@ gs_plugin_loader_get_distro_upgrades_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_distro_upgrades_thread_cb);
 }
 
@@ -1516,7 +1516,7 @@ gs_plugin_loader_get_unvoted_reviews_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_unvoted_reviews_thread_cb);
 }
 
@@ -1599,7 +1599,7 @@ gs_plugin_loader_get_sources_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_sources_thread_cb);
 }
 
@@ -1695,7 +1695,7 @@ gs_plugin_loader_get_installed_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_installed_thread_cb);
 }
 
@@ -1794,7 +1794,7 @@ gs_plugin_loader_get_popular_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_popular_thread_cb);
 }
 
@@ -1907,7 +1907,7 @@ gs_plugin_loader_get_featured_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_featured_thread_cb);
 }
 
@@ -2136,7 +2136,7 @@ gs_plugin_loader_search_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_search_thread_cb);
 }
 
@@ -2303,7 +2303,7 @@ gs_plugin_loader_search_files_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_search_files_thread_cb);
 }
 
@@ -2470,7 +2470,7 @@ gs_plugin_loader_search_what_provides_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_search_what_provides_thread_cb);
 }
 
@@ -2654,7 +2654,7 @@ gs_plugin_loader_get_categories_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_categories_thread_cb);
 }
 
@@ -2813,7 +2813,7 @@ gs_plugin_loader_get_category_apps_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_get_category_apps_thread_cb);
 }
 
@@ -2902,7 +2902,7 @@ gs_plugin_loader_app_refine_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_app_refine_thread_cb);
 }
 
@@ -3345,7 +3345,7 @@ gs_plugin_loader_app_action_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_app_action_thread_cb);
 }
 
@@ -3397,7 +3397,7 @@ gs_plugin_loader_review_action_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_review_action_thread_cb);
 }
 
@@ -3517,7 +3517,7 @@ gs_plugin_loader_auth_action_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_auth_action_thread_cb);
 }
 
@@ -4661,7 +4661,7 @@ gs_plugin_loader_refresh_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_refresh_thread_cb);
 }
 
@@ -4861,7 +4861,7 @@ gs_plugin_loader_file_to_app_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_file_to_app_thread_cb);
 }
 
@@ -5031,7 +5031,7 @@ gs_plugin_loader_update_async (GsPluginLoader *plugin_loader,
 
        /* run in a thread */
        task = g_task_new (plugin_loader, cancellable, callback, user_data);
-       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_free_async_state);
+       g_task_set_task_data (task, state, (GDestroyNotify) gs_plugin_loader_async_state_free);
        g_task_run_in_thread (task, gs_plugin_loader_update_thread_cb);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]