[gnome-software] update monitor: Use correct async finish function



commit 1d4e92b97cc16874cf2a216ee3d90b910b2cf82e
Author: Kalev Lember <klember redhat com>
Date:   Thu Jan 28 11:17:14 2016 +0100

    update monitor: Use correct async finish function

 src/gs-update-monitor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-update-monitor.c b/src/gs-update-monitor.c
index 330aa6a..ef8f09a 100644
--- a/src/gs-update-monitor.c
+++ b/src/gs-update-monitor.c
@@ -208,7 +208,7 @@ get_upgrades_finished_cb (GObject *object,
        g_autoptr(GsAppList) apps = NULL;
 
        /* get result */
-       apps = gs_plugin_loader_get_updates_finish (GS_PLUGIN_LOADER (object), res, &error);
+       apps = gs_plugin_loader_get_distro_upgrades_finish (GS_PLUGIN_LOADER (object), res, &error);
        if (apps == NULL) {
                g_debug ("no upgrades; withdrawing upgrades-available notification");
                g_application_withdraw_notification (monitor->application,


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