archrelease: copy trunk to community-any
[ArchLinux/community.git] / activity-log-manager / trunk / fix-build-2.patch
blob70d6b0aeb17f826412a966b93904698fa667d88a
1 diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala activity-log-manager-0.9.7/src/unified-privacy-applications.vala
2 --- activity-log-manager-0.9.7.orig/src/unified-privacy-applications.vala 2018-01-15 21:41:36.620167000 +0100
3 +++ activity-log-manager-0.9.7/src/unified-privacy-applications.vala 2018-01-15 21:44:26.360957457 +0100
4 @@ -263,7 +263,7 @@
5 string can_app = can_app_value.get_string();
6 if(app == can_app)
8 - this.store.remove(iter);
9 + this.store.remove(ref iter);
10 break;
12 bool more_entires = model.iter_next(ref iter);
13 @@ -282,7 +282,7 @@
14 if(selection.get_selected(out model, out iter))
16 model.get(iter, 2, out app);
17 - this.liststore.remove(iter);
18 + this.liststore.remove(ref iter);
21 return app;
22 diff -Naur activity-log-manager-0.9.7.orig/src/unified-privacy.vala activity-log-manager-0.9.7/src/unified-privacy.vala
23 --- activity-log-manager-0.9.7.orig/src/unified-privacy.vala 2018-01-15 21:41:32.020056000 +0100
24 +++ activity-log-manager-0.9.7/src/unified-privacy.vala 2018-01-15 21:41:59.804064208 +0100
25 @@ -376,7 +376,7 @@
26 model.get(iter, 0, out name, 3, out type);
27 if(name != null)
29 - exception_list_store.remove(iter);
30 + exception_list_store.remove(ref iter);
31 if (type == ItemType.FILE)
32 this.path_blacklist.unblock(name);
33 else
34 @@ -437,7 +437,7 @@
35 sel.get_selected(out model, out iter);
36 string app;
37 model.get(iter, 2, out app);
38 - this.app_dialog.liststore.remove (iter);
39 + this.app_dialog.liststore.remove (ref iter);
41 // Add the App to View
42 app_change_recursive = true;
43 @@ -505,7 +505,7 @@
44 string cand_folder = can_app_value.get_string();
45 if(folder == cand_folder)
47 - this.exception_list_store.remove(iter);
48 + this.exception_list_store.remove(ref iter);
49 return true;
51 bool more_entires = model.iter_next(ref iter);
52 @@ -550,7 +550,7 @@
53 string can_app = can_app_value.get_string();
54 if(app == can_app)
56 - this.exception_list_store.remove(iter);
57 + this.exception_list_store.remove(ref iter);
58 break;
60 bool more_entires = model.iter_next(ref iter);