summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
authorsundtek <[email protected]>2024-11-26 18:37:51 +0800
committerLuke from DC <[email protected]>2024-11-26 20:43:49 +0000
commit2c50a0919d735daffb6b0259180a29e7831d4083 (patch)
tree64744788dc3d1779c50cb461af2b48808f24b142 /src/daemon/daemon.c
parent6465b42ca1a261d3b8135b3db8a0e1864a9d4047 (diff)
downloadmate-notification-daemon-2c50a0919d735daffb6b0259180a29e7831d4083.tar.bz2
mate-notification-daemon-2c50a0919d735daffb6b0259180a29e7831d4083.tar.xz
Update daemon.c
remove exit / replace with gtk_main_quit [ 7590.265881] mate-notificati[76519]: segfault at 55ac5111c67a ip 00007d1d4fc09d61 sp 00007ffd0bf06698 error 4 in libgobject-2.0.so.0.8000.0[7d1d4fbdc000+37000] likely on CPU 0 (core 0, socket 0) [ 7590.265910] Code: 01 00 00 00 4c 89 ce 48 89 e5 e8 da e6 ff ff 5d 85 c0 0f 95 c0 0f b6 c0 c3 f3 0f 1e fa 48 85 ff 74 47 48 8b 07 48 85 c0 74 3f <48> 8b 00 48 3d fc 03 00 00 77 2c 48 8d 15 cd 53 02 00 48 c1 e8 02
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index a513efd..ef83301 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -266,7 +266,7 @@ static void _notify_timeout_destroy(NotifyTimeout* nt)
static gboolean do_exit(gpointer user_data)
{
- exit(0);
+ gtk_main_quit();
return FALSE;
}