summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-03-11 15:41:37 +0100
committerKay Sievers <kay.sievers@vrfy.org>2011-03-11 15:41:37 +0100
commit202df05e0f01d79177dfeee6acf1748089f484a8 (patch)
tree51b42c19e569cf62024fcf4b5bb514200246bbab /src
parente8bf3c88e3a80b791cee3c6207a36e82a2ac1029 (diff)
gnome-ask-password-agent: check for vala 0.10 instead of libnotify
Diffstat (limited to 'src')
-rw-r--r--src/gnome-ask-password-agent.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala
index 1d3b715663..46813683af 100644
--- a/src/gnome-ask-password-agent.vala
+++ b/src/gnome-ask-password-agent.vala
@@ -239,10 +239,10 @@ public class MyStatusIcon : StatusIcon {
null);
OutputStream stream = new UnixOutputStream(to_process, true);
-#if LIBNOTIFY07
- stream.write(password.data, null);
-#else
+#if VALA_0_10
stream.write(password, password.length, null);
+#else
+ stream.write(password.data, null);
#endif
} catch (Error e) {
show_error(e.message);