[gnome-software] trivial: Use the right finish function for getting sources



commit 886068394a619a7e44b45d66c853cb1b6aa47eb0
Author: Kalev Lember <kalevlember gmail com>
Date:   Sat Mar 15 10:32:48 2014 +0100

    trivial: Use the right finish function for getting sources

 src/gs-shell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index b8e7ca8..5d39cbb 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -921,7 +921,7 @@ gs_shell_sources_get_sources_cb (GsPluginLoader *plugin_loader,
        gtk_spinner_stop (GTK_SPINNER (widget));
 
        /* get the results */
-       list = gs_plugin_loader_get_updates_finish (plugin_loader, res, &error);
+       list = gs_plugin_loader_get_sources_finish (plugin_loader, res, &error);
        if (list == NULL) {
                if (g_error_matches (error,
                                     GS_PLUGIN_LOADER_ERROR,


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