Merge lp:~teemperor/libappstore/fix-name-conflicts into lp:libappstore

Proposed by Raphael Isemann
Status: Needs review
Proposed branch: lp:~teemperor/libappstore/fix-name-conflicts
Merge into: lp:libappstore
Diff against target: 34 lines (+3/-3)
2 files modified
lib/AppsManager.vala (+2/-2)
lib/DBManager.vala (+1/-1)
To merge this branch: bzr merge lp:~teemperor/libappstore/fix-name-conflicts
Reviewer Review Type Date Requested Status
libappstore Developers Pending
Review via email: mp+215573@code.launchpad.net

Description of the change

GLib introduced a new "GLib.Task"-class which is in direct conflict with PackageKit.Task, causing build-errors on Isis. This should fix it for the time being.

To post a comment you must log in.

Unmerged revisions

52. By Raphael Isemann

GLib.Task is now a thing and causes name-conflicts, which is now fixed.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/AppsManager.vala'
2--- lib/AppsManager.vala 2013-06-03 18:02:51 +0000
3+++ lib/AppsManager.vala 2014-04-13 12:15:58 +0000
4@@ -34,7 +34,7 @@
5 // PackageKit stuffs
6 private Client client;
7 private Control control;
8- private Task task;
9+ private PackageKit.Task task;
10 private Cancellable transaction;
11
12 // Database stuffs
13@@ -371,7 +371,7 @@
14 public AppsManager (string db) {
15 client = new Client();
16 control = new Control();
17- task = new Task();
18+ task = new PackageKit.Task();
19 transaction = new Cancellable();
20
21 database_path = db;
22
23=== modified file 'lib/DBManager.vala'
24--- lib/DBManager.vala 2013-03-26 17:12:11 +0000
25+++ lib/DBManager.vala 2014-04-13 12:15:58 +0000
26@@ -367,7 +367,7 @@
27 theme.append_search_path ("/usr/share/app-install/icons/");
28 #endif
29 this.db = db;
30- task = new Task ();
31+ task = new PackageKit.Task ();
32 control = new Control ();
33
34 // PK conf file

Subscribers

People subscribed via source and target branches