ports/www/midori/files/patch-extensions_notes.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
491 B
Vala

--- extensions/notes.vala.orig 2015-08-30 11:56:26 UTC
+++ extensions/notes.vala
@@ -116,7 +116,11 @@ namespace ClipNotes {
if (current_note == note) {
current_note = null;
}
+#if VALA_0_36
+ notes_list_store.remove (ref iter);
+#else
notes_list_store.remove (iter);
+#endif
break;
}
} while (notes_list_store.iter_next (ref iter));