Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / 
xfce4-screensaver


Commits:
f525b4d6 by Robin Candau at 2024-09-20T13:33:49+02:00
Remove unused patch

- - - - -


1 changed file:

- − 0001-Catch-gs_listener_dbus_init-failures.patch


Changes:

=====================================
0001-Catch-gs_listener_dbus_init-failures.patch deleted
=====================================
@@ -1,30 +0,0 @@
-From f596f888a2b6e6598b9d0e4f0200b60e7f9eef64 Mon Sep 17 00:00:00 2001
-From: Shawn Anastasio <[email protected]>
-Date: Sun, 6 Sep 2020 19:33:12 +0000
-Subject: [PATCH 1/1] Catch gs_listener_dbus_init failures
-
-In cases where the dbus connection fails, gs_listener_dbus_init
-will fail and return FALSE. Previously, this status code was not
-checked in the gs_listener constructor, resulting in a silent failure
-that eventually resulted in a Segmentation Fault when the listener's
-system_connection pointer gets used.
-
-Add a g_assert to ensure gs_listener_dbus_init succeeds, or bail out
-gracefully on failures.
----
- src/gs-listener-dbus.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/gs-listener-dbus.c b/src/gs-listener-dbus.c
-index 6307324..7aebe00 100644
---- a/src/gs-listener-dbus.c
-+++ b/src/gs-listener-dbus.c
-@@ -2196,7 +2196,7 @@ gs_listener_init (GSListener *listener) {
- #endif
-     listener->priv->prefs = gs_prefs_new();
- 
--    gs_listener_dbus_init (listener);
-+    g_assert (gs_listener_dbus_init (listener));
- 
-     init_session_id (listener);
- 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-screensaver/-/commit/f525b4d6dc63901a6c6426508454528452237064

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/xfce4-screensaver/-/commit/f525b4d6dc63901a6c6426508454528452237064
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to