1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-16 16:59:17 -04:00
ports/www/midori/files/patch-extensions_adblock_widgets.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
561 B
Vala

--- extensions/adblock/widgets.vala.orig 2015-08-30 11:56:26 UTC
+++ extensions/adblock/widgets.vala
@@ -227,7 +227,11 @@ namespace Adblock {
liststore.get (iter, 0, out sub);
if (sub.mutable) {
config.remove (sub);
+#if VALA_0_36
+ liststore.remove (ref iter);
+#else
liststore.remove (iter);
+#endif
return true;
}
}