mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 03:25:31 +03:00
gnome-ask-password-agent: check for vala 0.10 instead of libnotify
This commit is contained in:
parent
e8bf3c88e3
commit
202df05e0f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user