[gnome-software/wip/rancell/snap-auth-3-20: 52/57] trivial: Don't do	two update actions for live update
- From: Robert Ancell <rancell src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-software/wip/rancell/snap-auth-3-20: 52/57] trivial: Don't do	two update actions for live update
 
- Date: Thu, 14 Dec 2017 00:47:02 +0000 (UTC)
 
commit 32dd645c3a32070fe808875adedbc2176a88ae70
Author: Richard Hughes <richard hughsie com>
Date:   Mon Apr 11 10:31:12 2016 +0100
    trivial: Don't do two update actions for live update
 src/gs-plugin-loader.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index b604708..c39221f 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -2682,6 +2682,7 @@ gs_plugin_loader_app_action_async (GsPluginLoader *plugin_loader,
                gs_plugin_loader_update_async (plugin_loader, list,
                                               cancellable, callback,
                                               user_data);
+               return;
        }
 
        if (action == GS_PLUGIN_LOADER_ACTION_REMOVE) {
@@ -2714,9 +2715,6 @@ gs_plugin_loader_app_action_async (GsPluginLoader *plugin_loader,
        case GS_PLUGIN_LOADER_ACTION_SET_RATING:
                state->function_name = "gs_plugin_app_set_rating";
                break;
-       case GS_PLUGIN_LOADER_ACTION_UPDATE:
-               state->function_name = "gs_plugin_app_update";
-               break;
        case GS_PLUGIN_LOADER_ACTION_UPGRADE_DOWNLOAD:
                state->function_name = "gs_plugin_app_upgrade_download";
                break;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]