Mon, 04 Jul 2022 20:20:05 -0500
handle GTK_RESPONSE_DELETE_EVENT when closing account manager via window manager
Testing Done:
Ran Pidgin and closed the account manager with the X button of the window manager.
Reviewed at https://reviews.imfreedom.org/r/1515/
| pidgin/pidginaccountmanager.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/pidginaccountmanager.c Thu Jun 30 20:24:09 2022 -0500 +++ b/pidgin/pidginaccountmanager.c Mon Jul 04 20:20:05 2022 -0500 @@ -230,6 +230,8 @@ g_clear_object(&account); break; + case GTK_RESPONSE_DELETE_EVENT: + /* fallthrough */ case GTK_RESPONSE_CLOSE: gtk_widget_destroy(GTK_WIDGET(dialog)); break;