diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-11 14:09:10 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-03-11 14:09:10 +0100 |
commit | e8bf3c88e3a80b791cee3c6207a36e82a2ac1029 (patch) | |
tree | 9229bd5fc29ead9c34000d99f0d85b19d8172ccd | |
parent | 820fa964859bab12bc8b6afea980399c71e34f5b (diff) |
gnome-ask-password-agent: restore removed libnotify0.6 support
-rw-r--r-- | src/gnome-ask-password-agent.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala index 75cfabfabb..1d3b715663 100644 --- a/src/gnome-ask-password-agent.vala +++ b/src/gnome-ask-password-agent.vala @@ -239,7 +239,11 @@ public class MyStatusIcon : StatusIcon { null); OutputStream stream = new UnixOutputStream(to_process, true); +#if LIBNOTIFY07 stream.write(password.data, null); +#else + stream.write(password, password.length, null); +#endif } catch (Error e) { show_error(e.message); } |