chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
special: get rid of dbus.target
[elogind.git]
/
src
/
gnome-ask-password-agent.vala
diff --git
a/src/gnome-ask-password-agent.vala
b/src/gnome-ask-password-agent.vala
index 75cfabfabbcb33ac74900c4697a4bd316ba469be..4f89a3e6d8bb8f1c70052fe32b12736e82e03110 100644
(file)
--- 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 VALA_0_12
stream.write(password.data, null);
+#else
+ stream.write(password, password.length, null);
+#endif
} catch (Error e) {
show_error(e.message);
}