patch-deja-dup_widgets_ConfigLocation_vala 752 B

1234567891011121314151617181920212223
  1. $OpenBSD: patch-deja-dup_widgets_ConfigLocation_vala,v 1.1 2017/04/13 07:10:01 jasper Exp $
  2. Fix build with vala 0.36:
  3. error: Argument 1: Cannot pass value to reference or output parameter
  4. --- deja-dup/widgets/ConfigLocation.vala.orig Thu Apr 13 08:37:56 2017
  5. +++ deja-dup/widgets/ConfigLocation.vala Thu Apr 13 08:38:03 2017
  6. @@ -397,12 +397,12 @@ public class ConfigLocation : ConfigWidget
  7. if (uuid == saved_uuid)
  8. return;
  9. - store.remove(iter);
  10. + store.remove(ref iter);
  11. if (--num_volumes == 0) {
  12. Gtk.TreeIter sep_iter;
  13. if (store.get_iter_from_string(out sep_iter, index_vol_sep.to_string())) {
  14. - store.remove(sep_iter);
  15. + store.remove(ref sep_iter);
  16. index_vol_sep = -2;
  17. }
  18. }