summary refs log tree commit diff
path: root/pkgs/applications/misc/appeditor/fix-build-vala-0.46.patch
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-11-09 07:20:00 +0100
committerVladimír Čunát <v@cunat.cz>2019-11-09 07:26:53 +0100
commit457e94d9008a55f0302100b00b77ea9ea478eaef (patch)
treefa6c4caad3cd47fcff78421a553086cd49dc9f54 /pkgs/applications/misc/appeditor/fix-build-vala-0.46.patch
parent4fc27edf074b63a46782832279f8ac1c27b43829 (diff)
parent5e70be026ee4eb05ed1c25d659848ab2f7102100 (diff)
downloadnixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.gz
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.bz2
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.lz
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.xz
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.zst
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.zip
Merge branch 'master' into staging-next
~4k rebuilds on each Linux.
Diffstat (limited to 'pkgs/applications/misc/appeditor/fix-build-vala-0.46.patch')
-rw-r--r--pkgs/applications/misc/appeditor/fix-build-vala-0.46.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/misc/appeditor/fix-build-vala-0.46.patch b/pkgs/applications/misc/appeditor/fix-build-vala-0.46.patch
new file mode 100644
index 00000000000..f6c0b4cfd28
--- /dev/null
+++ b/pkgs/applications/misc/appeditor/fix-build-vala-0.46.patch
@@ -0,0 +1,22 @@
+diff --git a/src/DesktopApp.vala b/src/DesktopApp.vala
+index 0e6fa47..ebcde0c 100644
+--- a/src/DesktopApp.vala
++++ b/src/DesktopApp.vala
+@@ -130,7 +130,7 @@ public class AppEditor.DesktopApp : Object {
+ 
+     public unowned string get_path () {
+         if (path == null) {
+-            unowned string _path = info.get_string (KeyFileDesktop.KEY_PATH);
++            string _path = info.get_string (KeyFileDesktop.KEY_PATH);
+             if (_path == null) {
+                 _path = "";
+             }
+@@ -150,7 +150,7 @@ public class AppEditor.DesktopApp : Object {
+     }
+ 
+     public bool get_should_show () {
+-        return info.should_show () && !get_terminal (); 
++        return info.should_show () && !get_terminal ();
+     }
+ 
+     public string[] get_categories () {