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

This commit is contained in:
Kay Sievers 2011-03-11 15:41:37 +01:00
parent e8bf3c88e3
commit 202df05e0f
1 changed files with 3 additions and 3 deletions

View File

@ -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);