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://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e8bf3c88e3a80b791cee3c6207a36e82a2ac1029;p=thirdparty%2Fsystemd.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 75cfabfabbc..1d3b7156635 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); }