1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/audio/abraca/files/patch-src_abraca-server-browser-dialog.vala
Guido Falsi 65e1ed6030 - Fix build with vala 0.36
- Add LICENSE and LICENSE_FILE
- Update WWW in pkg-descr

PR:		222037
Submitted by:	cpm@
2017-09-07 13:23:26 +00:00

15 lines
517 B
Vala

--- src/abraca-server-browser-dialog.vala.orig 2014-10-26 18:55:55 UTC
+++ src/abraca-server-browser-dialog.vala
@@ -145,7 +145,11 @@ public class Abraca.ServerBrowserDialog : Gtk.Dialog
unowned string entry_name, entry_path;
location_store.get(iter, Column.NAME, out entry_name, Column.PATH, out entry_path);
if (path == entry_path) {
+#if VALA_0_36
+ location_store.remove(ref iter);
+#else
location_store.remove(iter);
+#endif
break;
}
} while (location_store.iter_next(ref iter));