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
=== modified file 'lib/AppsManager.vala'
--- lib/AppsManager.vala 2013-06-03 18:02:51 +0000
+++ lib/AppsManager.vala 2014-04-13 12:15:58 +0000
@@ -34,7 +34,7 @@
34 // PackageKit stuffs34 // PackageKit stuffs
35 private Client client;35 private Client client;
36 private Control control;36 private Control control;
37 private Task task;37 private PackageKit.Task task;
38 private Cancellable transaction;38 private Cancellable transaction;
39 39
40 // Database stuffs40 // Database stuffs
@@ -371,7 +371,7 @@
371 public AppsManager (string db) {371 public AppsManager (string db) {
372 client = new Client();372 client = new Client();
373 control = new Control();373 control = new Control();
374 task = new Task();374 task = new PackageKit.Task();
375 transaction = new Cancellable();375 transaction = new Cancellable();
376 376
377 database_path = db;377 database_path = db;
378378
=== modified file 'lib/DBManager.vala'
--- lib/DBManager.vala 2013-03-26 17:12:11 +0000
+++ lib/DBManager.vala 2014-04-13 12:15:58 +0000
@@ -367,7 +367,7 @@
367 theme.append_search_path ("/usr/share/app-install/icons/");367 theme.append_search_path ("/usr/share/app-install/icons/");
368#endif368#endif
369 this.db = db;369 this.db = db;
370 task = new Task ();370 task = new PackageKit.Task ();
371 control = new Control ();371 control = new Control ();
372 372
373 // PK conf file373 // PK conf file

Subscribers

People subscribed via source and target branches