mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
gnome-ask-password-agent: restore removed libnotify0.6 support
This commit is contained in:
parent
820fa96485
commit
e8bf3c88e3
@ -239,7 +239,11 @@ public class MyStatusIcon : StatusIcon {
|
||||
null);
|
||||
|
||||
OutputStream stream = new UnixOutputStream(to_process, true);
|
||||
#if LIBNOTIFY07
|
||||
stream.write(password.data, null);
|
||||
#else
|
||||
stream.write(password, password.length, null);
|
||||
#endif
|
||||
} catch (Error e) {
|
||||
show_error(e.message);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user