X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fgnome-ask-password-agent.vala;h=4f89a3e6d8bb8f1c70052fe32b12736e82e03110;hp=46813683afb7edcf12e3d7be1de91059a604830d;hb=90df7e567f668b4d0e7761fd15fa8cebffc759a0;hpb=202df05e0f01d79177dfeee6acf1748089f484a8 diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala index 46813683a..4f89a3e6d 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 VALA_0_10 - stream.write(password, password.length, null); -#else +#if VALA_0_12 stream.write(password.data, null); +#else + stream.write(password, password.length, null); #endif } catch (Error e) { show_error(e.message);