[gnome-software] trivial: Fix a potential crash when failing to download upgrades



commit 4b39ad9c115f45a9a5ad4dc8181a61bf21f2f04e
Author: Richard Hughes <richard hughsie com>
Date:   Tue May 23 12:21:41 2017 +0100

    trivial: Fix a potential crash when failing to download upgrades
    
    Looks like a copy-paste typo.

 src/gs-updates-page.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-updates-page.c b/src/gs-updates-page.c
index 8a78b71..2de357c 100644
--- a/src/gs-updates-page.c
+++ b/src/gs-updates-page.c
@@ -1468,9 +1468,8 @@ gs_updates_page_upgrade_download_cb (GsUpgradeBanner *upgrade_banner,
                g_object_unref (self->cancellable_upgrade_download);
        self->cancellable_upgrade_download = g_cancellable_new ();
        plugin_job = gs_plugin_job_newv (GS_PLUGIN_ACTION_UPGRADE_DOWNLOAD,
-                                        "failure-flags",
                                         "app", app,
-                                        GS_PLUGIN_FAILURE_FLAGS_USE_EVENTS,
+                                        "failure-flags", GS_PLUGIN_FAILURE_FLAGS_USE_EVENTS,
                                         NULL);
        gs_plugin_loader_job_process_async (self->plugin_loader, plugin_job,
                                            self->cancellable_upgrade_download,


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