summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@redhat.com>2022-11-03 17:58:25 -0500
committerMarge Bot <marge-bot@gnome.org>2022-11-04 14:43:34 +0000
commitcd418888da360177ef979e851ef9ddfc70ea12f5 (patch)
tree0c9056536919df312303ddaffe0113c78ddab0cb
parent2b9f5f773ec759d2a34e58eed068c6d3df97419a (diff)
downloadepiphany-mcatanzaro/#1897.tar.gz
window-commands: fix critical when opening about dialogmcatanzaro/#1897
GLib-GObject-CRITICAL **: 17:38:04.419: ../gobject/gsignal.c:2620: signal 'response' is invalid for instance '0x5575a6def290' of type 'GtkAboutDialog' Fixes #1897 Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/1215>
-rw-r--r--src/window-commands.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index ff1010b3c..7ba33a709 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -1074,8 +1074,6 @@ window_cmd_show_about (GSimpleAction *action,
gtk_about_dialog_set_documenters (dialog, (const char **)documenters);
gtk_about_dialog_set_translator_credits (dialog, _("translator-credits"));
- g_signal_connect (dialog, "response",
- G_CALLBACK (gtk_window_destroy), NULL);
gtk_window_present (GTK_WINDOW (dialog));
g_free (comments);