[gnome-software/wip/william/update-all: 69/75] Rename GsPluginOfflineUpdateFunc to GsPluginAppListFunc



commit 51f8d748de9b170b4d1f081962105acb64e5e389
Author: William Hua <william hua canonical com>
Date:   Wed Apr 6 12:06:52 2016 +0100

    Rename GsPluginOfflineUpdateFunc to GsPluginAppListFunc

 src/gs-plugin-loader.c |    2 +-
 src/gs-plugin.h        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 676767c..8d3425c 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -3755,7 +3755,7 @@ gs_plugin_loader_offline_update_thread_cb (GTask *task,
        gboolean ret = TRUE;
        GsPluginLoaderAsyncState *state = (GsPluginLoaderAsyncState *) task_data;
        GsPlugin *plugin;
-       GsPluginOfflineUpdateFunc plugin_func = NULL;
+       GsPluginAppListFunc plugin_func = NULL;
        guint i;
 
        /* run each plugin */
diff --git a/src/gs-plugin.h b/src/gs-plugin.h
index 3ed167d..a9e6914 100644
--- a/src/gs-plugin.h
+++ b/src/gs-plugin.h
@@ -165,7 +165,7 @@ typedef gboolean     (*GsPluginFilenameToAppFunc)   (GsPlugin       *plugin,
                                                         const gchar    *filename,
                                                         GCancellable   *cancellable,
                                                         GError         **error);
-typedef gboolean        (*GsPluginOfflineUpdateFunc)   (GsPlugin       *plugin,
+typedef gboolean        (*GsPluginAppListFunc)         (GsPlugin       *plugin,
                                                         GList          *apps,
                                                         GCancellable   *cancellable,
                                                         GError         **error);


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