Commit 202df05e authored by Kay Sievers's avatar Kay Sievers
Browse files

gnome-ask-password-agent: check for vala 0.10 instead of libnotify

parent e8bf3c88
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment