[Xfce4-commits] <libxfce4ui:master> Make g_critical warning about exit(0) a DBG message.
Nick Schermer
noreply at xfce.org
Mon May 10 22:38:01 CEST 2010
Updating branch refs/heads/master
to f6a0196e5777a870f8a7fc82cfec74717f85924d (commit)
from ada0de45930a54a6367b2bf865365968abfc54eb (commit)
commit f6a0196e5777a870f8a7fc82cfec74717f85924d
Author: Nick Schermer <nick at xfce.org>
Date: Mon May 10 22:35:54 2010 +0200
Make g_critical warning about exit(0) a DBG message.
libxfce4ui/xfce-sm-client.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/libxfce4ui/xfce-sm-client.c b/libxfce4ui/xfce-sm-client.c
index 0884afc..2ac3254 100644
--- a/libxfce4ui/xfce-sm-client.c
+++ b/libxfce4ui/xfce-sm-client.c
@@ -1081,9 +1081,10 @@ xsmp_die(SmcConn smc_conn,
{
g_signal_emit(G_OBJECT(sm_client), signals[SIG_QUIT], 0, NULL);
} else {
- g_critical ("XfceSMClient will now call exit(0) which will abort your "
- "application. It is highly recommended to implement the "
- "\"quit\" signal.");
+ DBG("XfceSMClient will now call exit(0) which will abort your "
+ "application. If you want to handle this yourself, you can "
+ "implement the \"quit\"-signal.");
+
exit(0);
}
}
More information about the Xfce4-commits
mailing list