Bug#630291: [developers] [[email protected]] Bug#630291: minbar: Please transition to libnotify 0.7
أحمد المحمودي <[email protected]> Wed, 6 Jul 2011 05:39:21 +0200
| Newsgroups | gmane.linux.debian.devel.bugs.general,gmane.comp.internationalization.arabeyes.devel |
|---|---|
| Message-ID | <[email protected]> |
--ghzN8eJ9Qlbqn3iT Content-Type: multipart/mixed; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable tag 630291 + patch =2E =D8=A7=D9=84=D8=B3=D9=84=D8=A7=D9=85 =D8=B9=D9=84=D9=8A=D9=83=D9=85=D8=8C The attached patch fixes FTBFS with libnotify 0.7, it is also backward=20 compatible with older libnotify (so you don't need to bump the=20 libnotify-dev version in Build-Deps) --=20 =E2=80=8E=D8=A3=D8=AD=D9=85=D8=AF =D8=A7=D9=84=D9=85=D8=AD=D9=85=D9=88=D8= =AF=D9=8A (Ahmed El-Mahmoudy) Digital design engineer GPG KeyID: 0xEDDDA1B7 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7 --oC1+HKm2/end4ao3 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="libnotify0.7.diff" Content-Transfer-Encoding: quoted-printable Description: Fix FTBFS with libnotify0.7 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D630291 Author: =D8=A3=D8=AD=D9=85=D8=AF =D8=A7=D9=84=D9=85=D8=AD=D9=85=D9=88=D8=AF= =D9=8A (Ahmed El-Mahmoudy) <[email protected]> --- a/src/main.c +++ b/src/main.c @@ -1239,9 +1239,13 @@ notification =3D notify_notification_new (program_name, NULL, +#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR =3D=3D 0 && NO= TIFY_VERSION_MINOR < 7) NULL, - NULL); + NULL); notify_notification_attach_to_status_icon (notification, status_icon ); +#else + NULL); +#endif notify_notification_set_timeout (notification, 8000); } #endif --oC1+HKm2/end4ao3-- --ghzN8eJ9Qlbqn3iT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAEBCAAGBQJOE9jpAAoJELwZapTt3aG3AvIH/0+0tCiINxAtPX65l1bL9Bhi nBhxchZgca0uLV4WTZ4cMBo0zQp21uAnnwVg7o/1APo0lxMOs6+faFvLaCE3/eq4 3cH/sHw5/1VZkqK7NX4CmVp0ZIBL//+BDc0ZXYCaDpcVCAoeNwHUY3Qjzu74C9UZ YcuCV8FJQ/WEhqtSfTH57XVRYXM6Dky6HM/ik3QuFMDodCZtVNOUnxEd5eKPeJdb 3nh4lrIKiJrQ90UAHrHtnQHTWwhOffNngyfPUjahCWsagfsQE5U+t5RtG7PNO+68 9IGD9LMm9gfxLTa2OTGZiBAmqLbz3y1cCXSAiWq2D0tIAESFKHK1vVnqjbiHncM= =GDr7 -----END PGP SIGNATURE----- --ghzN8eJ9Qlbqn3iT--