Blame 0001-Fixes-failure-to-build-from-source-on-F30.patch

f2d8e99
From e48b4220097d2abff3ff1c54082a503944aa63a2 Mon Sep 17 00:00:00 2001
f2d8e99
From: Mat Booth <mat.booth@redhat.com>
f2d8e99
Date: Tue, 12 Feb 2019 13:59:07 +0000
f2d8e99
Subject: [PATCH] Fixes failure to build from source on F30
f2d8e99
f2d8e99
Compilation error:
f2d8e99
Cannot convert from GLib.List<Gtk.Window> to GLib.List<weak Gtk.Window>
f2d8e99
f2d8e99
Signed-off-by: Mat Booth <mat.booth@redhat.com>
f2d8e99
---
f2d8e99
 lib/application.vala                     | 3 ++-
f2d8e99
 plugins/gnome/extension/metadata.json.in | 2 +-
f2d8e99
 2 files changed, 3 insertions(+), 2 deletions(-)
f2d8e99
f2d8e99
diff --git a/lib/application.vala b/lib/application.vala
f2d8e99
index 82b7425..093fafc 100644
f2d8e99
--- a/lib/application.vala
f2d8e99
+++ b/lib/application.vala
f2d8e99
@@ -68,6 +68,7 @@ namespace Pomodoro
f2d8e99
 
f2d8e99
         private struct Options
f2d8e99
         {
6d9d8fd
+            public bool dummy;
f2d8e99
             public static bool no_default_window = false;
f2d8e99
             public static bool preferences = false;
f2d8e99
             public static bool quit = false;
f2d8e99
@@ -146,7 +147,7 @@ namespace Pomodoro
f2d8e99
 
f2d8e99
         public unowned Gtk.Window get_last_focused_window ()
f2d8e99
         {
f2d8e99
-            unowned List<weak Gtk.Window> windows = this.get_windows ();
f2d8e99
+            unowned List<Gtk.Window> windows = this.get_windows ();
f2d8e99
 
f2d8e99
             return windows != null
f2d8e99
                     ? windows.first ().data
f2d8e99
diff --git a/plugins/gnome/extension/metadata.json.in b/plugins/gnome/extension/metadata.json.in
f2d8e99
index ea1422a..0fe4d2b 100644
f2d8e99
--- a/plugins/gnome/extension/metadata.json.in
f2d8e99
+++ b/plugins/gnome/extension/metadata.json.in
f2d8e99
@@ -2,7 +2,7 @@
f2d8e99
   "uuid": "@EXTENSION_UUID@",
f2d8e99
   "name": "Pomodoro",
f2d8e99
   "description": "Desktop integration for Pomodoro application.",
f2d8e99
-  "shell-version": ["3.30", "3.28", "3.26", "3.24", "3.22", "3.20", "3.18", "3.16"],
f2d8e99
+  "shell-version": ["3.32", "3.30", "3.28", "3.26", "3.24", "3.22", "3.20", "3.18", "3.16"],
f2d8e99
   "url": "@PACKAGE_URL@",
f2d8e99
   "version": "@PACKAGE_VERSION@"
f2d8e99
 }
f2d8e99
-- 
f2d8e99
2.20.1
f2d8e99