[gnome-software/wip/temp/ubuntu-xenial-rebased: 239/329] trivial: Don't do two update actions for live update



commit 26b03c7fd009ca725c296275ceb9180612e5c203
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 |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 012c5af..d8caca6 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -2628,6 +2628,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) {


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