From: Kay Sievers Date: Fri, 11 Mar 2011 13:09:10 +0000 (+0100) Subject: gnome-ask-password-agent: restore removed libnotify0.6 support X-Git-Tag: v21~116 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e8bf3c88e3a80b791cee3c6207a36e82a2ac1029;p=elogind.git 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 75cfabfab..1d3b71566 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); }