Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-settings-daemon for 
openSUSE:Factory checked in at 2023-10-29 19:39:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-settings-daemon (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-settings-daemon.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-settings-daemon"

Sun Oct 29 19:39:23 2023 rev:187 rq:1120635 version:45.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gnome-settings-daemon/gnome-settings-daemon.changes  
    2023-09-20 13:23:07.873622718 +0200
+++ 
/work/SRC/openSUSE:Factory/.gnome-settings-daemon.new.17445/gnome-settings-daemon.changes
   2023-10-29 19:39:24.754164418 +0100
@@ -1,0 +2,6 @@
+Thu Oct 26 08:40:13 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Add 538816ff42f682fc4b541810ca107486abab9976.patch: smartcard:
+  Steal error when propagating through GTask.
+
+-------------------------------------------------------------------

New:
----
  538816ff42f682fc4b541810ca107486abab9976.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-settings-daemon.spec ++++++
--- /var/tmp/diff_new_pack.AkWqYb/_old  2023-10-29 19:39:25.286183772 +0100
+++ /var/tmp/diff_new_pack.AkWqYb/_new  2023-10-29 19:39:25.290183918 +0100
@@ -44,6 +44,8 @@
 Patch2:         
gnome-settings-daemon-switch-Japanese-default-input-to-mozc.patch
 # PATCH-FIX-UPSTREAM gnome-settings-daemon-bgo793253.patch bgo#793253 
dims...@opensuse.org -- Fix no-return-in-nonvoid-function
 Patch3:         gnome-settings-daemon-bgo793253.patch
+# PATCH-FIX-UPSTREAM 538816ff42f682fc4b541810ca107486abab9976.patch -- 
smartcard: Steal error when propagating through GTask
+Patch0:         
https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/commit/538816ff42f682fc4b541810ca107486abab9976.patch
 
 ## SLE/LEAP-only patches start at 1000
 # PATCH-FEATURE-OPENSUSE gnome-settings-daemon-notify-idle-resumed.patch 
bnc#439018 bnc#708182 bgo#575467 h...@suse.com -- notify user about auto 
suspend when returning from sleep
@@ -149,6 +151,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 %endif
 
 # Enable the patches for both Leap 15 and SLE 15, please find the 
clarification at bsc#1158476.

++++++ 538816ff42f682fc4b541810ca107486abab9976.patch ++++++
>From 538816ff42f682fc4b541810ca107486abab9976 Mon Sep 17 00:00:00 2001
From: Carlos Garnacho <carl...@gnome.org>
Date: Tue, 26 Sep 2023 19:16:17 +0200
Subject: [PATCH] smartcard: Steal error when propagating through GTask

The g_task_return_error() function wants ownership of the error,
which here is also held by the g_autoptr(). Steal the error when
propagating, so the ownership is transferred.
---
 plugins/smartcard/gsd-smartcard-manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/smartcard/gsd-smartcard-manager.c 
b/plugins/smartcard/gsd-smartcard-manager.c
index abce6ef3e..c049f4922 100644
--- a/plugins/smartcard/gsd-smartcard-manager.c
+++ b/plugins/smartcard/gsd-smartcard-manager.c
@@ -554,7 +554,7 @@ on_modules_initialized (GObject      *source_object,
         modules = gck_modules_initialize_registered_finish (result, &error);
 
         if (error) {
-                g_task_return_error (task, error);
+                g_task_return_error (task, g_steal_pointer (&error));
                 return;
         }
 
-- 
GitLab

Reply via email to