summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/abraca/files/patch-src-components-collections-collections_view.vala23
-rw-r--r--audio/abraca/files/patch-src-components-playlist-playlist_model.vala14
2 files changed, 37 insertions, 0 deletions
diff --git a/audio/abraca/files/patch-src-components-collections-collections_view.vala b/audio/abraca/files/patch-src-components-collections-collections_view.vala
new file mode 100644
index 000000000000..433aa0e90cc2
--- /dev/null
+++ b/audio/abraca/files/patch-src-components-collections-collections_view.vala
@@ -0,0 +1,23 @@
+--- src/components/collections/collections_view.vala.orig 2010-04-03 04:19:53.000000000 +0200
++++ src/components/collections/collections_view.vala 2010-11-12 20:11:48.471315596 +0100
+@@ -441,16 +441,11 @@
+ Gtk.TreePath path = model.get_path(iter);
+
+ if (path.get_depth() == 2) {
+- unowned GLib.List<Gtk.CellRenderer> renderers;
+- Gtk.CellRendererText renderer;
+- GLib.List<unowned Gtk.TreeViewColumn> cols;
+- Gtk.TreeViewColumn col;
++ var cols = get_columns();
++ var col = cols.data;
+
+- cols = get_columns();
+- col = cols.data;
+-
+- renderers = col.get_cells();
+- renderer = (Gtk.CellRendererText) renderers.data;
++ var renderers = col.get_cells();
++ var renderer = (Gtk.CellRendererText) renderers.data;
+
+ renderer.editable = true;
+ set_cursor_on_cell(path, col, renderer, true);
diff --git a/audio/abraca/files/patch-src-components-playlist-playlist_model.vala b/audio/abraca/files/patch-src-components-playlist-playlist_model.vala
new file mode 100644
index 000000000000..e47d1c30a53e
--- /dev/null
+++ b/audio/abraca/files/patch-src-components-playlist-playlist_model.vala
@@ -0,0 +1,14 @@
+--- src/components/playlist/playlist_model.vala.orig 2010-04-03 04:19:53.000000000 +0200
++++ src/components/playlist/playlist_model.vala 2010-11-21 22:17:26.000000000 +0100
+@@ -136,9 +136,9 @@
+ if (iter_nth_child (out iter, null, pos) &&
+ iter_nth_child(out niter, null, npos)) {
+ if (pos < npos) {
+- move_after (iter, niter);
++ move_after (ref iter, niter);
+ } else {
+- move_before (iter, niter);
++ move_before (ref iter, niter);
+ }
+ }
+ }