[gnome-software] Fix a potential crash when searching for files using the D-Bus API



commit c290722d2bd5e44fa45a1ed7c33fbafc4dbb3587
Author: Richard Hughes <richard hughsie com>
Date:   Thu Jan 28 12:06:15 2016 +0000

    Fix a potential crash when searching for files using the D-Bus API

 src/gs-shell-extras.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-shell-extras.c b/src/gs-shell-extras.c
index a1c547a..37fa9eb 100644
--- a/src/gs-shell-extras.c
+++ b/src/gs-shell-extras.c
@@ -521,10 +521,10 @@ search_files_cb (GObject *source_object,
        GsPluginLoader *plugin_loader = GS_PLUGIN_LOADER (source_object);
        g_autoptr(GError) error = NULL;
 
-       list = gs_plugin_loader_search_what_provides_finish (plugin_loader, res, &error);
+       list = gs_plugin_loader_search_finish (plugin_loader, res, &error);
        if (list == NULL) {
                if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
-                       g_debug ("extras: search what provides cancelled");
+                       g_debug ("extras: search files cancelled");
                        return;
                }
                if (g_error_matches (error,


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