From dfcadab0ceae4d8144a6ea1968ad8e22d6035ed1 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Sun, 21 Jan 2018 11:54:49 +0100 Subject: pcr/font-manager: updated to 0.7.3 --- pcr/font-manager/2017.06.patch | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pcr/font-manager/2017.06.patch (limited to 'pcr/font-manager/2017.06.patch') diff --git a/pcr/font-manager/2017.06.patch b/pcr/font-manager/2017.06.patch new file mode 100644 index 000000000..15444aaa6 --- /dev/null +++ b/pcr/font-manager/2017.06.patch @@ -0,0 +1,44 @@ +--- lib/UX/Models/CollectionModel.vala 2017-06-29 16:17:28.997795458 +0800 ++++ lib/UX/Models/CollectionModel.vala 2017-06-29 16:17:22.227415589 +0800 +@@ -104,7 +104,7 @@ + return sorted; + } + +- void insert_children (Gee.ArrayList groups, Gtk.TreeIter parent) { ++ void insert_children (Gee.ArrayList groups, Gtk.TreeIter parent) { + var sorted = sort_groups(groups); + foreach(var child in sorted) { + Gtk.TreeIter _iter; +--- src/font-manager/State.vala 2017-06-29 16:42:40.268868810 +0800 ++++ src/font-manager/State.vala 2017-06-29 16:42:55.579554795 +0800 +@@ -25,8 +25,8 @@ + + public class State : Object { + +- internal static const int DEFAULT_WIDTH = 700; +- internal static const int DEFAULT_HEIGHT = 480; ++ internal const int DEFAULT_WIDTH = 700; ++ internal const int DEFAULT_HEIGHT = 480; + + public Settings? settings { get; set; default = null; } + public weak MainWindow? main_window { get; set; default = null; } +--- src/font-manager/Compare.vala 2017-06-29 16:43:14.080385035 +0800 ++++ src/font-manager/Compare.vala 2017-06-29 16:43:31.427831486 +0800 +@@ -280,9 +280,17 @@ + * the iter was always being set to null after calling remove. + */ + string iter_as_string = store.get_string_from_iter(iter); ++#if VALA_0_36 ++ store.remove(ref iter); ++#else + store.remove(iter); ++#endif + store.get_iter_from_string(out iter, iter_as_string); ++#if VALA_0_36 ++ bool still_valid = store.remove(ref iter); ++#else + bool still_valid = store.remove(iter); ++#endif + /* Set the cursor to a remaining row instead of having the cursor disappear. + * This allows for easy deletion of multiple previews by hitting the remove + * button repeatedly. -- cgit v1.2.3