summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-01-26 08:36:44 +0100
committerDave Davenport <qball@gmpclient.org>2016-01-26 08:38:07 +0100
commit3da03c068de975ae44a3c02f932175f8cc95fd8d (patch)
tree521c045c9d539a5859ba7248ff35d8b0101ac8d7 /source
parentf42258f60a4d536885201c62b3b84758d7ada775 (diff)
Fix comment add todo.
Diffstat (limited to 'source')
-rw-r--r--source/rofi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/rofi.c b/source/rofi.c
index 2eab2dca..635b91e5 100644
--- a/source/rofi.c
+++ b/source/rofi.c
@@ -1917,6 +1917,7 @@ int show_error_message ( const char *msg, int markup )
}
error_dialog ( msg, markup );
teardown ( pfd );
+ // TODO this looks incorrect.
g_main_loop_quit ( main_loop );
return EXIT_SUCCESS;
}
@@ -2464,7 +2465,7 @@ int main ( int argc, char *argv[] )
// Setup signal handling sources.
// SIGHup signal.
g_unix_signal_add ( SIGHUP, main_loop_signal_handler_hup, NULL );
- // SIGTERM
+ // SIGINT
g_unix_signal_add ( SIGINT, main_loop_signal_handler_int, NULL );
// SIGUSR1
g_unix_signal_add ( SIGUSR1, main_loop_signal_handler_usr1, NULL );