From e8bf3c88e3a80b791cee3c6207a36e82a2ac1029 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 11 Mar 2011 14:09:10 +0100 Subject: [PATCH] gnome-ask-password-agent: restore removed libnotify0.6 support --- src/gnome-ask-password-agent.vala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gnome-ask-password-agent.vala b/src/gnome-ask-password-agent.vala index 75cfabfa..1d3b7156 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); } -- 2.39.5