summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-03-11 14:09:10 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-03-11 14:09:10 +0100
commite8bf3c88e3a80b791cee3c6207a36e82a2ac1029 (patch)
tree9229bd5fc29ead9c34000d99f0d85b19d8172ccd
parent820fa964859bab12bc8b6afea980399c71e34f5b (diff)
gnome-ask-password-agent: restore removed libnotify0.6 support
-rw-r--r--src/gnome-ask-password-agent.vala4
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);
}