Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xdg-desktop-portal-gnome for 
openSUSE:Factory checked in at 2022-07-05 12:27:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xdg-desktop-portal-gnome (Old)
 and      /work/SRC/openSUSE:Factory/.xdg-desktop-portal-gnome.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xdg-desktop-portal-gnome"

Tue Jul  5 12:27:13 2022 rev:5 rq:986582 version:42.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/xdg-desktop-portal-gnome/xdg-desktop-portal-gnome.changes
        2022-04-30 00:45:37.374955827 +0200
+++ 
/work/SRC/openSUSE:Factory/.xdg-desktop-portal-gnome.new.1548/xdg-desktop-portal-gnome.changes
      2022-07-05 12:27:20.697859079 +0200
@@ -1,0 +2,11 @@
+Sun Jul  3 18:06:34 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Update to version 42.3:
+  + Backport screencast session fixes.
+- Changes from version 42.2:
+  + Fix invalid usage of app chooder dialog after its destruction.
+  + Properly handle errors from file operations.
+  + Fix various memory leaks.
+  + Updated translations.
+
+-------------------------------------------------------------------

Old:
----
  xdg-desktop-portal-gnome-42.1.tar.xz

New:
----
  xdg-desktop-portal-gnome-42.3.tar.xz

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

Other differences:
------------------
++++++ xdg-desktop-portal-gnome.spec ++++++
--- /var/tmp/diff_new_pack.YLFrAP/_old  2022-07-05 12:27:23.853863699 +0200
+++ /var/tmp/diff_new_pack.YLFrAP/_new  2022-07-05 12:27:23.857863705 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           xdg-desktop-portal-gnome
-Version:        42.1
+Version:        42.3
 Release:        0
 Summary:        A backend implementation for xdg-desktop-portal
 License:        LGPL-2.1-or-later

++++++ xdg-desktop-portal-gnome-42.1.tar.xz -> 
xdg-desktop-portal-gnome-42.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/.gitlab-ci.yml 
new/xdg-desktop-portal-gnome-42.3/.gitlab-ci.yml
--- old/xdg-desktop-portal-gnome-42.1/.gitlab-ci.yml    2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/.gitlab-ci.yml    2022-07-03 
15:50:59.000000000 +0200
@@ -32,7 +32,7 @@
   before_script:
     - sed -i '/deb-src/s/^# //' /etc/apt/sources.list
     - apt-get update
-    - apt-get install -y meson git libgtk-4-dev sassc
+    - apt-get install -y meson git libgtk-4-dev sassc libseccomp-dev
     - apt-get build-dep -y xdg-desktop-portal-gtk
     - git clone https://gitlab.gnome.org/GNOME/gnome-desktop.git &&
       cd gnome-desktop &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/NEWS 
new/xdg-desktop-portal-gnome-42.3/NEWS
--- old/xdg-desktop-portal-gnome-42.1/NEWS      2022-04-27 01:34:40.000000000 
+0200
+++ new/xdg-desktop-portal-gnome-42.3/NEWS      2022-07-03 15:50:59.000000000 
+0200
@@ -1,3 +1,16 @@
+Changes in 42.3
+================
+
+- Backport screencast session fixes
+
+Changes in 42.2
+================
+
+- Fix invalid usage of app chooder dialog after its destruction
+- Properly handle errors from file operations
+- Fix various memory leaks
+- Translation updates
+
 Changes in 42.1
 ================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/meson.build 
new/xdg-desktop-portal-gnome-42.3/meson.build
--- old/xdg-desktop-portal-gnome-42.1/meson.build       2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/meson.build       2022-07-03 
15:50:59.000000000 +0200
@@ -1,7 +1,7 @@
 project(
   'xdg-desktop-portal-gnome',
   'c',
-  version: '42.1',
+  version: '42.3',
   meson_version: '>= 0.53.0',
   license: 'LGPLv2.1+'
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/po/LINGUAS 
new/xdg-desktop-portal-gnome-42.3/po/LINGUAS
--- old/xdg-desktop-portal-gnome-42.1/po/LINGUAS        2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/po/LINGUAS        2022-07-03 
15:50:59.000000000 +0200
@@ -22,6 +22,7 @@
 kk
 ko
 lt
+ne
 nl
 oc
 pa
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/po/ne.po 
new/xdg-desktop-portal-gnome-42.3/po/ne.po
--- old/xdg-desktop-portal-gnome-42.1/po/ne.po  1970-01-01 01:00:00.000000000 
+0100
+++ new/xdg-desktop-portal-gnome-42.3/po/ne.po  2022-07-03 15:50:59.000000000 
+0200
@@ -0,0 +1,295 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: Gnome Nepali Translation Project\n"
+"Report-Msgid-Bugs-To: 
https://gitlab.gnome.org/GNOME/xdg-desktop-portal-gnome/issues\n";
+"POT-Creation-Date: 2022-04-26 23:39+0000\n"
+"PO-Revision-Date: 2022-05-09 11:39+0545\n"
+"Last-Translator: \n"
+"Language-Team: Nepali Team <chaut...@gmail.com>\n"
+"Language: ne\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Poedit 3.0.1\n"
+"X-Poedit-Bookmarks: -1,-1,-1,-1,-1,-1,-1,-1,22,-1\n"
+
+#: data/xdg-desktop-portal-gnome.desktop.in.in:4
+msgid "Portal"
+msgstr ""
+
+#. TRANSLATORS: Don't translate this text (this is icon name)
+#: data/xdg-desktop-portal-gnome.desktop.in.in:6
+#, fuzzy
+msgid "applications-system-symbolic"
+msgstr " ???????????????????????????????????? ?????????????????????"
+
+#: src/accountdialog.c:152
+msgid "Select an Image"
+msgstr "????????? ???????????? ??????"
+
+#: src/accountdialog.c:155 src/wallpaperdialog.ui:14
+msgid "Cancel"
+msgstr "_????????????"
+
+#: src/accountdialog.c:156
+msgid "Select"
+msgstr "????????? ???????????????????????????"
+
+#: src/accountdialog.c:157
+msgid "Clear"
+msgstr "???????????? ???????????????????????????"
+
+#: src/accountdialog.c:164
+msgid "Images"
+msgstr "?????????"
+
+#: src/accountdialog.c:225
+#, c-format
+msgid "Share your personal information with %1$s? %2$s"
+msgstr ""
+
+#: src/accountdialog.c:231
+#, c-format
+msgid "Share your personal information with the requesting application? %s"
+msgstr ""
+
+#: src/accountdialog.ui:4
+msgid "Share Details"
+msgstr "??????????????? ???????????? ???????????????????????????"
+
+#: src/accountdialog.ui:12 src/appchooserdialog.ui:12 src/filechooser.c:452
+#: src/remotedesktopdialog.ui:13 src/screencastdialog.ui:14 
src/screenshotdialog.ui:14
+msgid "_Cancel"
+msgstr "???????????? ???????????????????????????"
+
+#: src/accountdialog.ui:19 src/remotedesktopdialog.ui:21 
src/screencastdialog.ui:22
+#: src/screenshotdialog.ui:37
+msgid "_Share"
+msgstr "???????????? ???????????????????????????"
+
+#: src/accountdialog.ui:72
+msgid "Name"
+msgstr "?????????"
+
+#: src/accountdialog.ui:84
+msgid "Username"
+msgstr "??????????????????????????????????????? ?????????"
+
+#: src/appchooserdialog.c:229
+msgid "Failed to start Software"
+msgstr "???????????????????????? ???????????? ???????????? ??????????????????"
+
+#: src/appchooserdialog.c:393
+#, c-format
+msgid "Choose an application to open the file ???%s???."
+msgstr "??????????????????????????? ?????????????????????????????? 
???????????? ??????????????? ??????????????? ????????????: %s"
+
+#: src/appchooserdialog.c:398
+#, fuzzy
+msgid "Choose an application."
+msgstr "??????????????????????????? ??????????????????????????????"
+
+#: src/appchooserdialog.c:415
+#, c-format
+msgid "No apps installed that can open ???%s???. You can find more 
applications in Software"
+msgstr ""
+
+#: src/appchooserdialog.c:420
+msgid "No suitable app installed. You can find more applications in Software."
+msgstr ""
+
+#: src/appchooserdialog.ui:5
+#, fuzzy
+msgid "Open With???"
+msgstr "??????????????? ??????????????????????????????:"
+
+#: src/appchooserdialog.ui:20 src/filechooser.c:447
+msgid "_Open"
+msgstr " ??????????????????????????????"
+
+#: src/appchooserdialog.ui:104
+msgid "No Apps available"
+msgstr "???????????? ???????????????????????????????????? ?????????????????? 
?????????"
+
+#: src/appchooserdialog.ui:144
+msgid "_Find More in Software"
+msgstr "?????????????????????????????? ????????? ???????????? 
??????????????????????????????"
+
+#: src/background.c:214 src/background.c:305
+#, c-format
+msgid "???%s??? is running in the background"
+msgstr "\"%s\" ????????????????????????????????? ???????????????????????? ???"
+
+#: src/background.c:216
+msgid ""
+"This might be for a legitimate reason, but the application has not provided 
one.\n"
+"\n"
+"Note that forcing an application to quit might cause data loss."
+msgstr ""
+
+#: src/background.c:219
+msgid "Force quit"
+msgstr "???????????????????????? ???????????? ???????????????????????????"
+
+#: src/background.c:220
+msgid "Allow"
+msgstr "?????????????????? ????????????????????????"
+
+#: src/background.c:303
+msgid "Background activity"
+msgstr "??????????????????????????? ??????????????????????????????"
+
+#: src/background.c:311
+msgid "Find out more"
+msgstr "????????? ???????????? ??????????????????????????????"
+
+#: src/filechooser.c:447
+msgid "_Select"
+msgstr "_????????? ???????????????????????????"
+
+#: src/filechooser.c:449
+msgid "_Save"
+msgstr " ????????? ???????????????????????????..."
+
+#: src/filechooser.c:618
+msgid "Open files read-only"
+msgstr "??????????????? ??????????????? ???????????? 
??????????????????????????????"
+
+#: src/remotedesktopdialog.ui:7
+msgid "Remote desktop"
+msgstr "?????????????????? ?????????????????????"
+
+#: src/remotedesktopdialog.ui:64
+#, fuzzy
+msgid "Allow remote interaction"
+msgstr "?????????????????? ????????????????????????"
+
+#: src/screencastdialog.ui:5
+msgid "Screen Share"
+msgstr "??????????????? ????????????????????????"
+
+#: src/screencastwidget.c:159
+msgid "Virtual monitor"
+msgstr "??????????????????????????? ?????????????????????"
+
+#: src/screencastwidget.c:542
+#, fuzzy, c-format
+msgid "Select monitor to share with %s"
+msgstr "%s ??????????????????"
+
+#: src/screencastwidget.c:544
+#, fuzzy, c-format
+msgid "Select window to share with %s"
+msgstr "?????????????????????????????? ???????????? 
???????????????????????????"
+
+#: src/screencastwidget.c:549
+msgid "Select monitor to share with the requesting application"
+msgstr ""
+
+#: src/screencastwidget.c:550
+msgid "Select window to share with the requesting application"
+msgstr ""
+
+#: src/screencastwidget.ui:16
+#, fuzzy
+msgid "Single Window"
+msgstr "????????? ????????????????????? ????????????????????????????????? 
???????????? ????????? ????????? ??????????????? ???????????? 
?????????????????? ??????????????? ????????? ?????????????????????????????? 
??????????????????????????????"
+
+#: src/screencastwidget.ui:40 src/screencastwidget.ui:86
+#, fuzzy
+msgid "Remember this selection"
+msgstr "???????????? ????????? ???????????????????????????"
+
+#: src/screencastwidget.ui:64
+msgid "Entire Screen"
+msgstr "???????????? ???????????????"
+
+#: src/screenshotdialog.c:420
+#, fuzzy, c-format
+msgid "Share this screenshot with %s?"
+msgstr "%s ????????? ???????????????????????????"
+
+#: src/screenshotdialog.c:424
+msgid "Share this screenshot with the requesting application?"
+msgstr ""
+
+#: src/screenshotdialog.ui:8
+msgid "Screenshot"
+msgstr "???????????????????????????"
+
+#: src/screenshotdialog.ui:30
+msgid "_Options???"
+msgstr "?????????????????????"
+
+#: src/screenshotdialog.ui:55
+msgid "Take _Screenshot"
+msgstr "??????????????????????????? ????????????????????????"
+
+#: src/screenshotdialog.ui:108
+msgid "Take Screenshot"
+msgstr "??????????????????????????? ????????????????????????"
+
+#: src/screenshotdialog.ui:118
+msgid "Grab the whole sc_reen"
+msgstr ""
+
+#: src/screenshotdialog.ui:128
+#, fuzzy
+msgid "Grab the current _window"
+msgstr ""
+"???????????????????????? ??????????????????????????? ??????????????? 
??????????????? ???????????????????????? ??????????????????????????? ?????? 
?????????????????? ????????????????????? ?????????????????? ??? ??? ?????? 
?????? ???????????????????????? ????????????"
+
+#: src/screenshotdialog.ui:138
+msgid "Select _area to grab"
+msgstr ""
+
+#: src/screenshotdialog.ui:150
+#, fuzzy
+msgid "Grab after a _delay of"
+msgstr "?????????????????? ???????????????????????????:"
+
+#: src/screenshotdialog.ui:161
+msgid "seconds"
+msgstr "?????????????????????"
+
+#: src/screenshotdialog.ui:170
+msgid "Effects"
+msgstr "??????????????????"
+
+#: src/screenshotdialog.ui:180
+#, fuzzy
+msgid "Include _pointer"
+msgstr "???????????? ???????????????????????? ???????????????????????????"
+
+#: src/screenshotdialog.ui:188
+#, fuzzy
+msgid "Include the window _border"
+msgstr "???????????? ???????????????????????? ???????????????????????????"
+
+#: src/settings.c:247
+#, fuzzy
+msgid "Requested setting not found"
+msgstr "?????????????????? ?????????????????? ??????????????? '%s' 
???????????????????????? ???????????? ???????????????"
+
+#: src/wallpaperdialog.ui:8
+msgid "Set Background"
+msgstr "??????????????????????????? ????????? ???????????????????????????"
+
+#: src/wallpaperdialog.ui:20
+msgid "Set"
+msgstr "????????? ???????????????????????????"
+
+#: src/wallpaperdialog.ui:51
+#, fuzzy
+msgid "Failed to load image file"
+msgstr "TIFF ????????? ????????? ???????????? ????????????"
+
+#: src/wallpaperpreview.ui:50
+msgid "Activities"
+msgstr "??????????????????????????????"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/src/appchooser.c 
new/xdg-desktop-portal-gnome-42.3/src/appchooser.c
--- old/xdg-desktop-portal-gnome-42.1/src/appchooser.c  2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/appchooser.c  2022-07-03 
15:50:59.000000000 +0200
@@ -125,16 +125,15 @@
 {
   GVariantBuilder opt_builder;
 
+  if (handle->request->exported)
+    request_unexport (handle->request);
+
   g_variant_builder_init (&opt_builder, G_VARIANT_TYPE_VARDICT);
   xdp_impl_app_chooser_complete_choose_application (handle->impl,
                                                     handle->invocation,
                                                     2,
                                                     g_variant_builder_end 
(&opt_builder));
   app_dialog_handle_close (handle);
-
-  if (handle->request->exported)
-    request_unexport (handle->request);
-
   xdp_impl_request_complete_close (object, invocation);
 
   return TRUE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/src/remotedesktop.c 
new/xdg-desktop-portal-gnome-42.3/src/remotedesktop.c
--- old/xdg-desktop-portal-gnome-42.1/src/remotedesktop.c       2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/remotedesktop.c       2022-07-03 
15:50:59.000000000 +0200
@@ -130,7 +130,7 @@
 static void
 remote_desktop_dialog_handle_free (RemoteDesktopDialogHandle *dialog_handle)
 {
-  g_clear_pointer ((GtkWindow**)&dialog_handle->dialog, gtk_window_destroy);
+  g_clear_pointer (&dialog_handle->dialog, gtk_window_destroy);
   g_clear_object (&dialog_handle->external_parent);
   g_object_unref (dialog_handle->request);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/src/screencast.c 
new/xdg-desktop-portal-gnome-42.3/src/screencast.c
--- old/xdg-desktop-portal-gnome-42.1/src/screencast.c  2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/screencast.c  2022-07-03 
15:50:59.000000000 +0200
@@ -100,7 +100,7 @@
 static void
 screen_cast_dialog_handle_free (ScreenCastDialogHandle *dialog_handle)
 {
-  g_clear_pointer ((GtkWindow**)&dialog_handle->dialog, gtk_window_destroy);
+  g_clear_pointer (&dialog_handle->dialog, gtk_window_destroy);
   g_clear_object (&dialog_handle->external_parent);
   g_object_unref (dialog_handle->request);
 
@@ -868,6 +868,9 @@
                    error->message);
       g_clear_object (&screen_cast_session->gnome_screen_cast_session);
     }
+
+  g_clear_pointer (&screen_cast_session->dialog_handle,
+                   screen_cast_dialog_handle_close);
 }
 
 static void
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/src/screencastwidget.c 
new/xdg-desktop-portal-gnome-42.3/src/screencastwidget.c
--- old/xdg-desktop-portal-gnome-42.1/src/screencastwidget.c    2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/screencastwidget.c    2022-07-03 
15:50:59.000000000 +0200
@@ -538,7 +538,7 @@
       if (info)
         display_name = g_app_info_get_display_name (info);
       else
-        display_name = g_strdup (app_id);
+        display_name = app_id;
       monitor_heading = g_strdup_printf (_("Select monitor to share with %s"),
                                          display_name);
       window_heading = g_strdup_printf (_("Select window to share with %s"),
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/src/wallpaper.c 
new/xdg-desktop-portal-gnome-42.3/src/wallpaper.c
--- old/xdg-desktop-portal-gnome-42.1/src/wallpaper.c   2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/wallpaper.c   2022-07-03 
15:50:59.000000000 +0200
@@ -105,13 +105,17 @@
     }
 
   destination = g_file_new_for_path (handle->picture_uri);
-  g_file_replace_contents (destination,
-                           contents,
-                           length,
-                           NULL, FALSE,
-                           G_FILE_CREATE_REPLACE_DESTINATION,
-                           NULL, NULL,
-                           &error);
+  if (!g_file_replace_contents (destination,
+                                contents,
+                                length,
+                                NULL, FALSE,
+                                G_FILE_CREATE_REPLACE_DESTINATION,
+                                NULL, NULL,
+                                &error))
+    {
+      g_warning ("Failed to store image as '%s': %s", handle->picture_uri, 
error->message);
+      goto out;
+    }
 
   if (set_gsettings (BACKGROUND_SCHEMA, handle->picture_uri))
     handle->response = 0;
@@ -198,7 +202,7 @@
 
   if (!show_preview)
     {
-      set_wallpaper (handle, g_strdup (arg_uri));
+      set_wallpaper (handle, arg_uri);
       goto out;
     }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xdg-desktop-portal-gnome-42.1/src/wallpaperdialog.c 
new/xdg-desktop-portal-gnome-42.3/src/wallpaperdialog.c
--- old/xdg-desktop-portal-gnome-42.1/src/wallpaperdialog.c     2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/wallpaperdialog.c     2022-07-03 
15:50:59.000000000 +0200
@@ -119,7 +119,7 @@
   WallpaperDialog *self = data;
   GFileIOStream *stream = NULL;
   GFile *image_file = G_FILE (source_object);
-  GFile *tmp = g_file_new_tmp ("XXXXXX", &stream, NULL);
+  g_autoptr(GFile) tmp = g_file_new_tmp ("XXXXXX", &stream, NULL);
   g_autoptr(GError) error = NULL;
   gchar *contents = NULL;
   gsize length = 0;
@@ -133,9 +133,13 @@
       return;
     }
 
-  g_file_replace_contents (tmp, contents, length, NULL, FALSE, 
G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, &error);
+  if (!g_file_replace_contents (tmp, contents, length, NULL, FALSE, 
G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, &error))
+    {
+      g_warning ("Failed to store image: %s", error->message);
+      return;
+    }
 
-  self->picture_uri = g_strdup (g_file_get_uri (tmp));
+  self->picture_uri = g_file_get_uri (tmp);
   wallpaper_preview_set_image (self->desktop_preview,
                                self->picture_uri);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xdg-desktop-portal-gnome-42.1/src/wallpaperpreview.ui 
new/xdg-desktop-portal-gnome-42.3/src/wallpaperpreview.ui
--- old/xdg-desktop-portal-gnome-42.1/src/wallpaperpreview.ui   2022-04-27 
01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/wallpaperpreview.ui   2022-07-03 
15:50:59.000000000 +0200
@@ -2,24 +2,20 @@
 <interface domain="xdg-desktop-portal-gnome">
   <requires lib="gtk" version="4.0"/>
   <template class="WallpaperPreview" parent="GtkBox">
-    <property name="can-focus">0</property>
     <property name="hexpand">0</property>
     <property name="vexpand">0</property>
     <property name="width-request">384</property>
     <property name="height-request">208</property>
     <child>
       <object class="GtkOverlay">
-        <property name="can-focus">0</property>
         <property name="child">
           <object class="GtkDrawingArea" id="drawing_area">
-            <property name="can-focus">0</property>
             <property name="hexpand">1</property>
             <property name="vexpand">1</property>
           </object>
         </property>
         <child type="overlay">
           <object class="GtkStack" id="stack">
-            <property name="can-focus">0</property>
             <property name="hexpand">1</property>
             <property name="vexpand">1</property>
             <child>
@@ -36,48 +32,40 @@
             <!-- Top panel -->
             <child>
               <object class="GtkBox" id="desktop_preview">
-                <property name="can-focus">0</property>
                 <property name="valign">start</property>
                 <style>
                   <class name="desktop-preview"/>
                 </style>
                 <child>
                   <object class="GtkBox">
-                    <property name="can-focus">0</property>
                     <child>
                       <object class="GtkLabel">
-                        <property name="can-focus">0</property>
                         <property name="label" 
translatable="yes">Activities</property>
                       </object>
                     </child>
                     <child type="center">
                       <object class="GtkLabel" id="desktop_clock_label">
-                        <property name="can-focus">0</property>
                         <property name="hexpand">1</property>
                         <property name="label">01 Jan 00:00</property>
                       </object>
                     </child>
                     <child>
                       <object class="GtkBox">
-                        <property name="can-focus">0</property>
                         <property name="spacing">4</property>
                         <child>
                           <object class="GtkImage">
-                            <property name="can-focus">0</property>
                             <property 
name="icon-name">network-wireless-symbolic</property>
                             <property name="pixel-size">6</property>
                           </object>
                         </child>
                         <child>
                           <object class="GtkImage">
-                            <property name="can-focus">0</property>
                             <property 
name="icon-name">audio-volume-high-symbolic</property>
                             <property name="pixel-size">6</property>
                           </object>
                         </child>
                         <child>
                           <object class="GtkImage">
-                            <property name="can-focus">0</property>
                             <property 
name="icon-name">battery-low-symbolic</property>
                             <property name="pixel-size">6</property>
                           </object>
@@ -93,7 +81,6 @@
 
         <child type="overlay">
           <object class="GtkImage" id="animated_background_icon">
-            <property name="can-focus">0</property>
             <property name="halign">end</property>
             <property name="valign">end</property>
             <property name="margin-end">8</property>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xdg-desktop-portal-gnome-42.1/src/xdg-desktop-portal-gnome.c 
new/xdg-desktop-portal-gnome-42.3/src/xdg-desktop-portal-gnome.c
--- old/xdg-desktop-portal-gnome-42.1/src/xdg-desktop-portal-gnome.c    
2022-04-27 01:34:40.000000000 +0200
+++ new/xdg-desktop-portal-gnome-42.3/src/xdg-desktop-portal-gnome.c    
2022-07-03 15:50:59.000000000 +0200
@@ -204,8 +204,18 @@
 
   /* Avoid pointless and confusing recursion */
   g_unsetenv ("GTK_USE_PORTAL");
-  g_setenv ("ADW_DISABLE_PORTAL", "1", TRUE);
-  g_setenv ("GSK_RENDERER", "cairo", TRUE);
+
+  if (G_UNLIKELY (!g_setenv ("ADW_DISABLE_PORTAL", "1", TRUE)))
+    {
+      g_printerr ("Failed to set ADW_DISABLE_PORTAL: %s\n", g_strerror 
(errno));
+      return 1;
+    }
+
+  if (G_UNLIKELY (!g_setenv ("GSK_RENDERER", "cairo", TRUE)))
+    {
+      g_printerr ("Failed to set GSK_RENDERER: %s\n", g_strerror (errno));
+      return 1;
+    }
 
   gtk_init ();
 

Reply via email to