forked from pool/gnome-control-center
- Rebase gnome-control-center-disable-error-message-for-NM.patch - Add gnome-control-center-fix-6f1567f23.patch: network/connection-editor: fix crash when removing a connection (glgo#GNOME/gnome-control-center/commit/8cb77b4d3, bsc#1210377). OBS-URL: https://build.opensuse.org/request/show/1079088 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=508
29 lines
998 B
Diff
29 lines
998 B
Diff
From 14b3652289df4f7d1a44c9607a3880916ef74a56 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Kang <jonathankang@gnome.org>
|
|
Date: Wed, 12 Apr 2023 15:19:13 +0800
|
|
Subject: [PATCH] network/connection-editor: fix crash when removing a
|
|
connection
|
|
|
|
This was caused by commit 6f1567f23.
|
|
---
|
|
panels/network/connection-editor/net-connection-editor.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/panels/network/connection-editor/net-connection-editor.c b/panels/network/connection-editor/net-connection-editor.c
|
|
index bb0c1c96b..297c6607e 100644
|
|
--- a/panels/network/connection-editor/net-connection-editor.c
|
|
+++ b/panels/network/connection-editor/net-connection-editor.c
|
|
@@ -169,8 +169,8 @@ static void page_changed (NetConnectionEditor *self);
|
|
static void
|
|
cancel_editing (NetConnectionEditor *self)
|
|
{
|
|
- gtk_window_destroy (GTK_WINDOW (self));
|
|
g_signal_emit (self, signals[DONE], 0, FALSE);
|
|
+ gtk_window_destroy (GTK_WINDOW (self));
|
|
}
|
|
|
|
static void
|
|
--
|
|
2.40.0
|
|
|