[gnome-software/wip/temp/ubuntu-xenial-rebased: 306/329] trivial: Build broken - Use GFile correctly
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 306/329] trivial: Build broken - Use GFile correctly
- Date: Fri, 29 Apr 2016 14:11:05 +0000 (UTC)
commit 65674ef340247c1e756c044fbf7354bc3bc75c99
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]