diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-10-31 01:08:53 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-10-31 01:08:53 +0200 |
commit | 2531da9bf962386ba0d7d1b824dd399dd0980f39 (patch) | |
tree | c09c3422d48501192dcc95d62e71aad3de03087d | |
parent | 8e553e0324a970fb847b827b8f47f2d7c7b4f76a (diff) | |
download | messenger-gtk-2531da9bf962386ba0d7d1b824dd399dd0980f39.tar.gz messenger-gtk-2531da9bf962386ba0d7d1b824dd399dd0980f39.zip |
Fixed segfault during exit
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
-rw-r--r-- | src/ui/messenger.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
80 | } | 80 | } |
81 | 81 | ||
82 | static void | 82 | static void |
83 | handle_main_window_destroy(gpointer user_data) | 83 | handle_main_window_destroy(UNUSED GtkWidget *window, |
84 | gpointer user_data) | ||
84 | { | 85 | { |
85 | MESSENGER_Application *app = (MESSENGER_Application*) user_data; | 86 | MESSENGER_Application *app = (MESSENGER_Application*) user_data; |
86 | 87 | ||