summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChristian Hammond <chipx86@chipx86.com>2004-09-30 05:34:33 +0000
committerChristian Hammond <chipx86@chipx86.com>2004-09-30 05:34:33 +0000
commit80129611324e68ec64839ac29c2c60b680da5eec (patch)
treebc7d74858c303a8194361b49cafd8664c87ede22 /tools
parentf4bce0d0624ad539f03794d2d7760bfdf216ed6e (diff)
downloadlibnotify-80129611324e68ec64839ac29c2c60b680da5eec.tar.gz
Don't flush the D-BUS connection, and make sure we disconnect from it.
Diffstat (limited to 'tools')
-rw-r--r--tools/notify-send.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/notify-send.c b/tools/notify-send.c
index 5f6a266..25ba848 100644
--- a/tools/notify-send.c
+++ b/tools/notify-send.c
@@ -122,7 +122,8 @@ main(int argc, const char **argv)
}
}
- if (!notify_init("notify-send")) exit(1);
+ if (!notify_init("notify-send"))
+ exit(1);
notify_send_notification(NULL, type, urgency, summary, body, icon,
TRUE, expire_timeout, NULL, 0);