File pantheon-files-0.3.5-vala-0.4.patch of Package pantheon-files
diff -ruN pantheon-files-0.3.5.orig/libwidgets/Chrome/BreadcrumbElement.vala pantheon-files-0.3.5/libwidgets/Chrome/BreadcrumbElement.vala
--- pantheon-files-0.3.5.orig/libwidgets/Chrome/BreadcrumbElement.vala 2017-06-03 08:26:52.000000000 +0300
+++ pantheon-files-0.3.5/libwidgets/Chrome/BreadcrumbElement.vala 2018-03-24 05:17:43.727774140 +0300
@@ -67,7 +67,7 @@
}
}
- private Gtk.Border padding = Gtk.Border ();
+ private Gtk.Border padding;
private Pango.Layout layout;
private Gtk.Widget widget;
diff -ruN pantheon-files-0.3.5.orig/src/View/IconView.vala pantheon-files-0.3.5/src/View/IconView.vala
--- pantheon-files-0.3.5.orig/src/View/IconView.vala 2017-06-03 08:26:52.000000000 +0300
+++ pantheon-files-0.3.5/src/View/IconView.vala 2018-03-24 05:18:24.363903732 +0300
@@ -190,8 +190,8 @@
protected override uint get_event_position_info (Gdk.EventButton event,
out Gtk.TreePath? path,
bool rubberband = false) {
- unowned Gtk.TreePath? p = null;
- unowned Gtk.CellRenderer? r;
+ Gtk.TreePath? p = null;
+ Gtk.CellRenderer? r;
uint zone;
int x, y;
path = null;