Quit screenshooter when idle.
This commit is contained in:
parent
9af92b380c
commit
f53f4bbd52
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue