[systemd-commits] src/gnome-ask-password-agent.vala
Kay Sievers
kay at kemper.freedesktop.org
Fri Mar 11 05:10:04 PST 2011
src/gnome-ask-password-agent.vala | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit e8bf3c88e3a80b791cee3c6207a36e82a2ac1029
Author: Kay Sievers <kay.sievers at vrfy.org>
Date: Fri Mar 11 14:09:10 2011 +0100
gnome-ask-password-agent: restore removed libnotify0.6 support
diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala
index 75cfabf..1d3b715 100644
--- a/src/gnome-ask-password-agent.vala
+++ b/src/gnome-ask-password-agent.vala
@@ -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);
}
More information about the systemd-commits
mailing list