diffstat for polari-46.0 polari-46.0

 debian/changelog         |    7 +++++++
 debian/patches/319.patch |   27 +++++++++++++++++++++++++++
 debian/patches/series    |    1 +
 src/joinDialog.js        |    2 +-
 4 files changed, 36 insertions(+), 1 deletion(-)

diff -Nru polari-46.0/debian/changelog polari-46.0/debian/changelog
--- polari-46.0/debian/changelog	2025-05-03 17:12:03.000000000 +0100
+++ polari-46.0/debian/changelog	2025-07-24 18:49:57.000000000 +0100
@@ -1,3 +1,10 @@
+polari (46.0-5) unstable; urgency=medium
+
+  * Team upload
+  * patch: fix crash when closing dialog. Closes: #1095989.
+
+ -- Jérémy Lal <kapouer@melix.org>  Thu, 24 Jul 2025 19:49:57 +0200
+
 polari (46.0-4) unstable; urgency=medium
 
   * Team upload
diff -Nru polari-46.0/debian/patches/319.patch polari-46.0/debian/patches/319.patch
--- polari-46.0/debian/patches/319.patch	1970-01-01 01:00:00.000000000 +0100
+++ polari-46.0/debian/patches/319.patch	2025-07-24 18:49:57.000000000 +0100
@@ -0,0 +1,27 @@
+From 56544fe9c036c8a0e6f4990054730627c32bb561 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
+Date: Fri, 30 Aug 2024 14:12:58 +0000
+Subject: [PATCH] joinDialog: Fix closing the dialog
+
+Closes: https://gitlab.gnome.org/GNOME/polari/-/issues/232
+Part-of: <https://gitlab.gnome.org/GNOME/polari/-/merge_requests/319>
+---
+ src/joinDialog.js | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/joinDialog.js b/src/joinDialog.js
+index a667f12e..effd3510 100644
+--- a/src/joinDialog.js
++++ b/src/joinDialog.js
+@@ -154,7 +154,7 @@ class JoinDialog extends Adw.Dialog {
+             ]));
+         });
+ 
+-        this.destroy();
++        this.close();
+     }
+ 
+     _onAccountsChanged() {
+-- 
+GitLab
+
diff -Nru polari-46.0/debian/patches/series polari-46.0/debian/patches/series
--- polari-46.0/debian/patches/series	2025-05-03 16:44:21.000000000 +0100
+++ polari-46.0/debian/patches/series	2025-07-24 18:49:57.000000000 +0100
@@ -0,0 +1 @@
+319.patch
diff -Nru polari-46.0/src/joinDialog.js polari-46.0/src/joinDialog.js
--- polari-46.0/src/joinDialog.js	2024-03-30 21:06:13.000000000 +0000
+++ polari-46.0/src/joinDialog.js	2025-07-28 10:47:55.000000000 +0100
@@ -154,7 +154,7 @@
             ]));
         });
 
-        this.destroy();
+        this.close();
     }
 
     _onAccountsChanged() {
