[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 303/331] trivial: Build broken - Use GFile correctly



commit 8dbdc69366f218729bbd3e2d43b4be49675e7620
Author: Robert Ancell <robert ancell canonical com>
Date:   Mon Apr 25 11:33:47 2016 +0200

    trivial: Build broken - Use GFile correctly

 src/plugins/gs-plugin-dpkg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-dpkg.c b/src/plugins/gs-plugin-dpkg.c
index 532014b..5652747 100644
--- a/src/plugins/gs-plugin-dpkg.c
+++ b/src/plugins/gs-plugin-dpkg.c
@@ -106,7 +106,7 @@ gs_plugin_file_to_app (GsPlugin *plugin,
        /* create app */
        app = gs_app_new (NULL);
        gs_app_set_state (app, AS_APP_STATE_AVAILABLE_LOCAL);
-       gs_app_add_source (app, filename);
+       gs_app_add_source (app, g_file_get_path (file));
        gs_app_set_name (app, GS_APP_QUALITY_LOWEST, tokens[0]);
        gs_app_set_version (app, tokens[1]);
        gs_app_set_size (app, 1024 * atoi (tokens[2]));


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