summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2021-12-22 15:46:11 +0000
committerSimon McVittie <smcv@debian.org>2021-12-22 15:46:11 +0000
commite9f2fdac48064eb9f8593573f3f7043aa549487f (patch)
treede4b3cd7b86aba1b7c3ad6619f4bd5d3b3cce346
parent72f25c4eeb95494f94bc07d52c782c001451d303 (diff)
parent627d7ae5394815a1f307218ed7154e93be48af0b (diff)
Update upstream source from tag 'upstream/1.12.1'
Update to upstream version '1.12.1' with Debian dir 2deac692725e90017e6da2ddadc90503ad5f8161
-rw-r--r--NEWS5
-rwxr-xr-xconfigure20
-rw-r--r--configure.ac2
-rw-r--r--po/cs.po2
-rw-r--r--po/da.po2
-rw-r--r--po/de.po2
-rw-r--r--po/en_GB.po2
-rw-r--r--po/es.po2
-rw-r--r--po/fr.po2
-rw-r--r--po/gl.po2
-rw-r--r--po/hi.po2
-rw-r--r--po/hr.po2
-rw-r--r--po/hu.po2
-rw-r--r--po/id.po2
-rw-r--r--po/it.po2
-rw-r--r--po/lt.po2
-rw-r--r--po/nl.po2
-rw-r--r--po/pl.po2
-rw-r--r--po/pt_BR.po2
-rw-r--r--po/ru.po2
-rw-r--r--po/sk.po2
-rw-r--r--po/sr.po2
-rw-r--r--po/sv.po2
-rw-r--r--po/tr.po2
-rw-r--r--po/uk.po2
-rw-r--r--po/xdg-desktop-portal.pot4
-rw-r--r--po/zh_CN.po2
-rw-r--r--po/zh_TW.po2
-rw-r--r--src/pipewire.c9
-rw-r--r--src/pipewire.h1
30 files changed, 48 insertions, 41 deletions
diff --git a/NEWS b/NEWS
index ca6137f..6e1cbbe 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+Changes in 1.12.1, 22-12-2021
+=============================
+
+- Fix a crash in the device portal
+
Changes in 1.12.0, 21-12-2021
=============================
diff --git a/configure b/configure
index f53c07e..c8f9176 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for xdg-desktop-portal 1.12.0.
+# Generated by GNU Autoconf 2.69 for xdg-desktop-portal 1.12.1.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='xdg-desktop-portal'
PACKAGE_TARNAME='xdg-desktop-portal'
-PACKAGE_VERSION='1.12.0'
-PACKAGE_STRING='xdg-desktop-portal 1.12.0'
+PACKAGE_VERSION='1.12.1'
+PACKAGE_STRING='xdg-desktop-portal 1.12.1'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1416,7 +1416,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures xdg-desktop-portal 1.12.0 to adapt to many kinds of systems.
+\`configure' configures xdg-desktop-portal 1.12.1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1488,7 +1488,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of xdg-desktop-portal 1.12.0:";;
+ short | recursive ) echo "Configuration of xdg-desktop-portal 1.12.1:";;
esac
cat <<\_ACEOF
@@ -1658,7 +1658,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-xdg-desktop-portal configure 1.12.0
+xdg-desktop-portal configure 1.12.1
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2023,7 +2023,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by xdg-desktop-portal $as_me 1.12.0, which was
+It was created by xdg-desktop-portal $as_me 1.12.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -12766,7 +12766,7 @@ fi
# Define the identity of the package.
PACKAGE='xdg-desktop-portal'
- VERSION='1.12.0'
+ VERSION='1.12.1'
# Some tools Automake needs.
@@ -16932,7 +16932,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by xdg-desktop-portal $as_me 1.12.0, which was
+This file was extended by xdg-desktop-portal $as_me 1.12.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -16998,7 +16998,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-xdg-desktop-portal config.status 1.12.0
+xdg-desktop-portal config.status 1.12.1
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index 4b2ef60..f7132ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ([2.63])
-AC_INIT([xdg-desktop-portal],[1.12.0])
+AC_INIT([xdg-desktop-portal],[1.12.1])
AC_USE_SYSTEM_EXTENSIONS
AC_SYS_LARGEFILE
diff --git a/po/cs.po b/po/cs.po
index aa71c41..162a5af 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2019-10-24 16:06+0200\n"
"Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
"Language-Team: Czech <gnome-cs-list@gnome.org>\n"
diff --git a/po/da.po b/po/da.po
index f5f4f67..b5e3533 100644
--- a/po/da.po
+++ b/po/da.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-10-12 01:25+0200\n"
"Last-Translator: scootergrisen\n"
"Language-Team: Danish\n"
diff --git a/po/de.po b/po/de.po
index 9fcd5e3..9c923d7 100644
--- a/po/de.po
+++ b/po/de.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2016-09-23 19:17+0200\n"
"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
"Language-Team: German <gnome-de@gnome.org>\n"
diff --git a/po/en_GB.po b/po/en_GB.po
index c0be88e..6160ef7 100644
--- a/po/en_GB.po
+++ b/po/en_GB.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2019-08-24 23:48+0100\n"
"Last-Translator: Zander Brown <zbrown@gnome.org>\n"
"Language-Team: English - United Kingdom <en_GB@li.org>\n"
diff --git a/po/es.po b/po/es.po
index 55b01dc..ba4813c 100644
--- a/po/es.po
+++ b/po/es.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2021-12-04 14:52+0100\n"
"Last-Translator: Adolfo Jayme Barrientos <fitojb@ubuntu.com>\n"
"Language-Team: Spanish\n"
diff --git a/po/fr.po b/po/fr.po
index b836058..3470052 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2017-03-02 11:34+0100\n"
"Last-Translator: Nicolas Cuffia <cuffia.cuceglio@vivaldi.net>\n"
"Language-Team: French <gnomefr@traduc.org>\n"
diff --git a/po/gl.po b/po/gl.po
index fead676..9625bd3 100644
--- a/po/gl.po
+++ b/po/gl.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-01-06 00:03+0100\n"
"Last-Translator: Fran Diéguez <frandieguez@gnome.org>\n"
"Language-Team: Galician\n"
diff --git a/po/hi.po b/po/hi.po
index 4f971db..fc329c6 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal 1.8.1\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2021-09-09 00:42+0700\n"
"Last-Translator: Dmitry <dmitrydmitry761@gmail.com>\n"
"Language-Team: Hindi <kde-i18n-doc@kde.org>\n"
diff --git a/po/hr.po b/po/hr.po
index 81388db..300fdc3 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-01-25 16:44+0100\n"
"Last-Translator: Milo Ivir <mail@milotype.de>\n"
"Language-Team: \n"
diff --git a/po/hu.po b/po/hu.po
index e8c0752..0ebe830 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2019-02-12 21:18+0100\n"
"Last-Translator: Balázs Úr <ur.balazs at fsf dot hu>\n"
"Language-Team: Hungarian <gnome-hu-list at gnome dot org>\n"
diff --git a/po/id.po b/po/id.po
index e9e8b7f..b777fb5 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-01-26 17:23+0700\n"
"Last-Translator: Kukuh Syafaat <kukuhsyafaat@gnome.org>\n"
"Language-Team: Indonesian <gnome-l10n-id@googlegroups.com>\n"
diff --git a/po/it.po b/po/it.po
index 19ce647..3f97873 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-02-10 16:11+0100\n"
"Last-Translator: Milo Casagrande <milo@milo.name>\n"
"Language-Team: Italian <gnome-it-list@gnome.org>\n"
diff --git a/po/lt.po b/po/lt.po
index ae6f8a2..67e543a 100644
--- a/po/lt.po
+++ b/po/lt.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-03-07 20:26+0200\n"
"Last-Translator: Moo\n"
"Language-Team: Lithuanian <gnome-lt@lists.akl.lt>\n"
diff --git a/po/nl.po b/po/nl.po
index b1e35c0..3f1e8df 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2021-07-18 14:05+0200\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch\n"
diff --git a/po/pl.po b/po/pl.po
index 2ef8109..295fc65 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2019-10-24 16:30+0200\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <community-poland@mozilla.org>\n"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index 515a6f6..76e09e2 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2019-11-24 22:29-0300\n"
"Last-Translator: Rafael Fontenelle <rafaelff@gnome.org>\n"
"Language-Team: Brazilian Portuguese <gnome-pt_br-list@gnome.org>\n"
diff --git a/po/ru.po b/po/ru.po
index 6b4c9d7..e4b50c4 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-04-04 06:13+0300\n"
"Last-Translator: Артемий Судаков <finziyr@yandex.ru>\n"
"Language-Team: Russian <gnome-cyr@gnome.org>\n"
diff --git a/po/sk.po b/po/sk.po
index ce7ab12..2f24110 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-09-22 14:32+0200\n"
"Last-Translator: Dušan Kazik <prescott66@gmail.com>\n"
"Language-Team: Slovak <gnome-sk-list@gnome.org>\n"
diff --git a/po/sr.po b/po/sr.po
index 22f4463..9ea81e9 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2016-09-14 12:54+0200\n"
"Last-Translator: Мирослав Николић <miroslavnikolic@rocketmail.com>\n"
"Language-Team: српски <gnome-sr@googlegroups.org>\n"
diff --git a/po/sv.po b/po/sv.po
index c4c0127..fe782ee 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-09-20 00:11+0200\n"
"Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
diff --git a/po/tr.po b/po/tr.po
index 5f22017..f42068d 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-02-27 21:57+0300\n"
"Last-Translator: Sabri Ünal <libreajans@gmail.com>\n"
"Language-Team: Türkçe <gnome-turk@gnome.org>\n"
diff --git a/po/uk.po b/po/uk.po
index 5b353f9..cba38be 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2019-11-10 13:03+0200\n"
"Last-Translator: Yuri Chornoivan <yurchor@ukr.net>\n"
"Language-Team: Ukrainian <trans-uk@lists.fedoraproject.org>\n"
diff --git a/po/xdg-desktop-portal.pot b/po/xdg-desktop-portal.pot
index fe2158a..56be3b6 100644
--- a/po/xdg-desktop-portal.pot
+++ b/po/xdg-desktop-portal.pot
@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: xdg-desktop-portal 1.12.0\n"
+"Project-Id-Version: xdg-desktop-portal 1.12.1\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
diff --git a/po/zh_CN.po b/po/zh_CN.po
index 56e60c9..e45a49a 100644
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2020-10-09 00:19+0800\n"
"Last-Translator: Dingzhong Chen <wsxy162@gmail.com>\n"
"Language-Team: Chinese - China <i18n-zh@googlegroups.com>\n"
diff --git a/po/zh_TW.po b/po/zh_TW.po
index 7c36a51..0e0674a 100644
--- a/po/zh_TW.po
+++ b/po/zh_TW.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: xdg-desktop-portal master\n"
"Report-Msgid-Bugs-To: https://github.com/flatpak/xdg-desktop-portal/issues\n"
-"POT-Creation-Date: 2021-12-21 09:36-0500\n"
+"POT-Creation-Date: 2021-12-22 10:28-0500\n"
"PO-Revision-Date: 2021-10-01 23:52+0700\n"
"Last-Translator: Dmitry <dmitrydmitry761@gmail.com>\n"
"Language-Team: Chinese (Taiwan) <chinese-l10n@googlegroups.com>\n"
diff --git a/src/pipewire.c b/src/pipewire.c
index 8c68aae..4833a16 100644
--- a/src/pipewire.c
+++ b/src/pipewire.c
@@ -126,14 +126,18 @@ static gboolean
discover_node_factory_sync (PipeWireRemote *remote,
GError **error)
{
- remote->registry = pw_core_get_registry (remote->core, PW_VERSION_REGISTRY, 0);
- pw_registry_add_listener (remote->registry,
+ struct pw_registry *registry;
+
+ registry = pw_core_get_registry (remote->core, PW_VERSION_REGISTRY, 0);
+ pw_registry_add_listener (registry,
&remote->registry_listener,
&registry_events,
remote);
pipewire_remote_roundtrip (remote);
+ pw_proxy_destroy((struct pw_proxy*)registry);
+
if (remote->node_factory_id == 0)
{
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
@@ -242,7 +246,6 @@ pipewire_remote_destroy (PipeWireRemote *remote)
}
g_clear_pointer (&remote->globals, g_hash_table_destroy);
- g_clear_pointer ((struct pw_proxy **)&remote->registry, pw_proxy_destroy);
g_clear_pointer (&remote->core, pw_core_disconnect);
g_clear_pointer (&remote->context, pw_context_destroy);
g_clear_pointer (&remote->loop, pw_main_loop_destroy);
diff --git a/src/pipewire.h b/src/pipewire.h
index ea0b9fc..f33d7af 100644
--- a/src/pipewire.h
+++ b/src/pipewire.h
@@ -51,7 +51,6 @@ struct _PipeWireRemote
int sync_seq;
- struct pw_registry *registry;
struct spa_hook registry_listener;
GHashTable *globals;