Branch: refs/heads/master Author: Guido Falsi mad@madpilot.net Committer: Guido Falsi mad@madpilot.net Date: Sat, 24 Oct 2020 08:39:37 UTC Commit: ab4378aa3524f3e4923bcdc7d0b4e97feb73da57 https://github.com/geany/geany/commit/ab4378aa3524f3e4923bcdc7d0b4e97feb73da...
Log Message: ----------- Disconnect signal handler from vte before destroying the widget.
Patch sent to FreeBSD bugzilla by Hodong hodong@nimfsoft.com
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250403
Could be a fix for issue #2457
Modified Paths: -------------- src/vte.c
Modified: src/vte.c 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -399,6 +399,7 @@ void vte_close(void) g_free(vf); /* free the vte widget before unloading vte module * this prevents a segfault on X close window if the message window is hidden */ + g_signal_handlers_disconnect_by_func(vc->vte, G_CALLBACK(vte_start), NULL); gtk_widget_destroy(vc->vte); gtk_widget_destroy(vc->menu); g_object_unref(vc->menu);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).