chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8bf3c8
)
gnome-ask-password-agent: check for vala 0.10 instead of libnotify
author
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 11 Mar 2011 14:41:37 +0000
(15:41 +0100)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Fri, 11 Mar 2011 14:41:37 +0000
(15:41 +0100)
src/gnome-ask-password-agent.vala
patch
|
blob
|
history
diff --git
a/src/gnome-ask-password-agent.vala
b/src/gnome-ask-password-agent.vala
index 1d3b71566353aa34b8018272213ed422592dd6bd..46813683afb7edcf12e3d7be1de91059a604830d 100644
(file)
--- 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);