Quit screenshooter when idle.

This commit is contained in:
Kristian Høgsberg 2008-11-24 11:32:43 -05:00
parent 9af92b380c
commit f53f4bbd52
1 changed files with 1 additions and 1 deletions

View File

@ -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;