Quit screenshooter when idle.
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
|
||||
exit(-1);
|
||||
|
||||
screenshooter_shoot(s);
|
||||
|
||||
g_idle_add((GSourceFunc) g_main_loop_quit, loop);
|
||||
g_main_loop_run(loop);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user