summaryrefslogtreecommitdiff
path: root/screenshot.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-11-24 11:32:43 -0500
committerKristian Høgsberg <krh@redhat.com>2008-11-24 11:32:43 -0500
commitf53f4bbd528be246d4517a8cd7371857e583b64d (patch)
tree83e1172f9a930ccf3d86b58b955c6ecbe23c1c25 /screenshot.c
parent9af92b380c419d1447fcb79d952e4f643af98d3c (diff)
Quit screenshooter when idle.
Diffstat (limited to 'screenshot.c')
-rw-r--r--screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screenshot.c b/screenshot.c
index 7c69b85..53100c1 100644
--- a/screenshot.c
+++ b/screenshot.c
@@ -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;