diff options
author | jsorg71 <jsorg71> | 2008-12-30 08:32:22 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-12-30 08:32:22 +0000 |
commit | d241e0242212020568e98ddb20c113025f41dca1 (patch) | |
tree | 9a336b963c6452cb0973216cb62c67f2d92a5624 | |
parent | 0cef301b27711bd4f881a7e360d39e01e50898d5 (diff) | |
download | xrdp-proprietary-d241e0242212020568e98ddb20c113025f41dca1.tar.gz xrdp-proprietary-d241e0242212020568e98ddb20c113025f41dca1.zip |
change to the g_signal_* functions
-rw-r--r-- | sesman/sesman.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sesman/sesman.c b/sesman/sesman.c index 17432dd1..c9c5992e 100644 --- a/sesman/sesman.c +++ b/sesman/sesman.c @@ -279,10 +279,10 @@ main(int argc, char** argv) * going back to old style for the time being * problem with the sigaddset functions in sig.c - jts */ #if 1 - g_signal(1, sig_sesman_reload_cfg); /* SIGHUP */ - g_signal(2, sig_sesman_shutdown); /* SIGINT */ - g_signal(9, sig_sesman_shutdown); /* SIGKILL */ - g_signal(15, sig_sesman_shutdown); /* SIGTERM */ + g_signal_hang_up(sig_sesman_reload_cfg); /* SIGHUP */ + g_signal_user_interrupt(sig_sesman_shutdown); /* SIGINT */ + g_signal_kill(sig_sesman_shutdown); /* SIGKILL */ + g_signal_terminate(sig_sesman_shutdown); /* SIGTERM */ g_signal_child_stop(sig_sesman_session_end); /* SIGCHLD */ #endif #if 0 |