1
0
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:
Kay Sievers 2011-03-11 14:09:10 +01:00
parent 820fa96485
commit e8bf3c88e3

View File

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