[polari] flatpak: Fix mission-control bug



commit 203541f125eb60ab4429c842272ef225f038824e
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Dec 19 14:01:12 2019 +0100

    flatpak: Fix mission-control bug
    
    See https://github.com/TelepathyIM/telepathy-mission-control/pull/6
    
    https://gitlab.gnome.org/GNOME/polari/merge_requests/141

 flatpak/org.gnome.Polari.json     |  4 ++++
 flatpak/tp-mc-fix-prop-name.patch | 28 ++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)
---
diff --git a/flatpak/org.gnome.Polari.json b/flatpak/org.gnome.Polari.json
index 73b5fb4..d2f1179 100644
--- a/flatpak/org.gnome.Polari.json
+++ b/flatpak/org.gnome.Polari.json
@@ -88,6 +88,10 @@
                     "url": "https://www.github.com/TelepathyIM/telepathy-mission-control.git";,
                     "tag": "telepathy-mission-control-5.16.5",
                     "commit": "5de9c50b0353f10b2fd7b1a6980c37bd7cb1b4dc"
+                },
+                {
+                    "type": "patch",
+                    "path": "tp-mc-fix-prop-name.patch"
                 }
             ],
             "cleanup": [
diff --git a/flatpak/tp-mc-fix-prop-name.patch b/flatpak/tp-mc-fix-prop-name.patch
new file mode 100644
index 0000000..e5a7b82
--- /dev/null
+++ b/flatpak/tp-mc-fix-prop-name.patch
@@ -0,0 +1,28 @@
+From d8dab08fe8db137c6bbd8bbdc3d9b01d98c48910 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner gnome org>
+Date: Thu, 19 Dec 2019 13:37:49 +0100
+Subject: [PATCH] account: Fix property name
+
+Spaces are not valid characters in property names, and never were.
+Until recently GLib silently fixed up the name by replacing the
+space with '-', but now tightened up the validation.
+---
+ src/mcd-account.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/mcd-account.c b/src/mcd-account.c
+index 8009110e..de5c61cf 100644
+--- a/src/mcd-account.c
++++ b/src/mcd-account.c
+@@ -3442,7 +3442,7 @@ mcd_account_class_init (McdAccountClass * klass)
+ 
+     g_object_class_install_property
+         (object_class, PROP_CONNECTIVITY_MONITOR,
+-         g_param_spec_object ("connectivity monitor",
++         g_param_spec_object ("connectivity-monitor",
+                               "Connectivity monitor",
+                               "Connectivity monitor",
+                               MCD_TYPE_CONNECTIVITY_MONITOR,
+-- 
+2.24.1
+


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]