ports/www/midori/files/patch-extensions_apps.vala
Guido Falsi 8bd3dfd87f - Fix build with upcoming vala 0.36 [1]
While here:

- Indentition fixes
- Silence portlint warning about variables ordering
- Convert to USES=localbase

PR:		222015 [1]
Submitted by:	cpm
2017-09-27 12:19:27 +00:00

14 lines
536 B
Vala

--- extensions/apps.vala.orig 2015-08-30 11:56:26 UTC
+++ extensions/apps.vala
@@ -265,7 +265,11 @@ namespace Apps {
store.get (iter, 0, out launcher);
try {
launcher.file.trash (null);
+#if VALA_0_36
+ store.remove (ref iter);
+#else
store.remove (iter);
+#endif
string filename = Midori.Download.clean_filename (launcher.name);
#if HAVE_WIN32