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