From 2531da9bf962386ba0d7d1b824dd399dd0980f39 Mon Sep 17 00:00:00 2001 From: TheJackiMonster Date: Sun, 31 Oct 2021 01:08:53 +0200 Subject: Fixed segfault during exit Signed-off-by: TheJackiMonster --- src/ui/messenger.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ui/messenger.c b/src/ui/messenger.c index 4479b4e..ebfde36 100644 --- a/src/ui/messenger.c +++ b/src/ui/messenger.c @@ -80,7 +80,8 @@ handle_back_button_click(UNUSED GtkButton* button, } static void -handle_main_window_destroy(gpointer user_data) +handle_main_window_destroy(UNUSED GtkWidget *window, + gpointer user_data) { MESSENGER_Application *app = (MESSENGER_Application*) user_data; -- cgit v1.2.3