Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Remove SIGUSR1 and SIGUSR2 support.
Browse files Browse the repository at this point in the history
We now have DBus support.
  • Loading branch information
EdSchouten committed Oct 25, 2008
1 parent 3f5b3e6 commit fad7d6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
1 change: 1 addition & 0 deletions herrie/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
????-??-?? -- Herrie ?.?:
* Added: DBus support - Steve Jothen
* Removed: SIGUSR1 and SIGUSR2 control signals

2008-10-14 -- Herrie 2.2:
* Added: Ukranian translation - Viacheslav Chumushuk
Expand Down
8 changes: 2 additions & 6 deletions herrie/man/02-man
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,12 @@ Seek 5 seconds backward.
Seek 5 seconds forward.
.TP
.B b
Go to the next song. Sending the signal
.B SIGUSR2
to the application will do the same.
Go to the next song.
.TP
.B c
Pause the current song. When
.B c
is pressed again, playback is resumed. Sending the signal
.B SIGUSR1
to the application will do the same.
is pressed again, playback is resumed.
.TP
.B J
Seek to a specific position. When the inserted time is prepended with a + or
Expand Down
10 changes: 0 additions & 10 deletions herrie/src/gui_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,6 @@ gui_input_sigmask(void)
sigset_t sset;

sigemptyset(&sset);
sigaddset(&sset, SIGUSR1);
sigaddset(&sset, SIGUSR2);
sigaddset(&sset, SIGHUP);
sigaddset(&sset, SIGINT);
sigaddset(&sset, SIGPIPE);
Expand All @@ -547,12 +545,6 @@ gui_input_sighandler(int signal)
return;

switch (signal) {
case SIGUSR1:
playq_cursong_pause();
break;
case SIGUSR2:
playq_cursong_next();
break;
case SIGHUP:
case SIGINT:
case SIGPIPE:
Expand All @@ -571,8 +563,6 @@ gui_input_loop(void)
unsigned int i;

#ifdef G_OS_UNIX
signal(SIGUSR1, gui_input_sighandler);
signal(SIGUSR2, gui_input_sighandler);
signal(SIGHUP, gui_input_sighandler);
signal(SIGINT, gui_input_sighandler);
signal(SIGPIPE, gui_input_sighandler);
Expand Down

0 comments on commit fad7d6b

Please sign in to comment.