File: Fix-JSON-validation.patch

package info (click to toggle)
cheese 44.1-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,312 kB
  • sloc: ansic: 6,621; xml: 293; sh: 183; python: 55; makefile: 21
file content (30 lines) | stat: -rw-r--r-- 816 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From: =?utf-8?b?QmFsbMOzIEd5w7ZyZ3k=?= <ballogyor@gmail.com>
Date: Wed, 4 Sep 2024 14:01:58 +0000
Subject: Fix JSON validation

json-glib 1.10 is more strict when parsing the JSON data.

Bug: https://gitlab.gnome.org/GNOME/cheese/-/issues/183
Bug-Debian: https://bugs.debian.org/1081598
Forwarded: https://gitlab.gnome.org/GNOME/cheese/-/merge_requests/73
---
 data/cheese-viewport.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/data/cheese-viewport.json b/data/cheese-viewport.json
index cf03fce..132b68d 100644
--- a/data/cheese-viewport.json
+++ b/data/cheese-viewport.json
@@ -53,9 +53,9 @@
   "type": "ClutterActor",
   "children":
   [
-    'video_preview',
-    'countdown_layer',
-    'error_layer'
+    "video_preview",
+    "countdown_layer",
+    "error_layer"
   ]
 },
 {