Blob Blame History Raw
From e48b4220097d2abff3ff1c54082a503944aa63a2 Mon Sep 17 00:00:00 2001
From: Mat Booth <mat.booth@redhat.com>
Date: Tue, 12 Feb 2019 13:59:07 +0000
Subject: [PATCH] Fixes failure to build from source on F30

Compilation error:
Cannot convert from GLib.List<Gtk.Window> to GLib.List<weak Gtk.Window>

Signed-off-by: Mat Booth <mat.booth@redhat.com>
---
 lib/application.vala                     | 3 ++-
 plugins/gnome/extension/metadata.json.in | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/application.vala b/lib/application.vala
index 82b7425..093fafc 100644
--- a/lib/application.vala
+++ b/lib/application.vala
@@ -68,6 +68,7 @@ namespace Pomodoro
 
         private struct Options
         {
+            public bool dummy;
             public static bool no_default_window = false;
             public static bool preferences = false;
             public static bool quit = false;
@@ -146,7 +147,7 @@ namespace Pomodoro
 
         public unowned Gtk.Window get_last_focused_window ()
         {
-            unowned List<weak Gtk.Window> windows = this.get_windows ();
+            unowned List<Gtk.Window> windows = this.get_windows ();
 
             return windows != null
                     ? windows.first ().data
diff --git a/plugins/gnome/extension/metadata.json.in b/plugins/gnome/extension/metadata.json.in
index ea1422a..0fe4d2b 100644
--- a/plugins/gnome/extension/metadata.json.in
+++ b/plugins/gnome/extension/metadata.json.in
@@ -2,7 +2,7 @@
   "uuid": "@EXTENSION_UUID@",
   "name": "Pomodoro",
   "description": "Desktop integration for Pomodoro application.",
-  "shell-version": ["3.30", "3.28", "3.26", "3.24", "3.22", "3.20", "3.18", "3.16"],
+  "shell-version": ["3.32", "3.30", "3.28", "3.26", "3.24", "3.22", "3.20", "3.18", "3.16"],
   "url": "@PACKAGE_URL@",
   "version": "@PACKAGE_VERSION@"
 }
-- 
2.20.1