Add patch to fix FTBFS with libnotify 0.7
[debian/pino.git] / debian / patches / 012_libnotify-0.7.diff
1 Description: Remove the widget argument removed from notify_notification_new in 
2  libnotify 0.7 
3 Author: Julien Valroff <julien@debian.org>
4 Last-Updated: 2011-06-12
5 Bug-Debian: http://bugs.debian.org/630296
6
7 --- a/src/popups.vala
8 +++ b/src/popups.vala
9 @@ -76,7 +76,7 @@
10                         head = "%s %s %s".printf(_("Direct message"), _("from"), head);
11                 
12                 Notification popup = new Notification(GLib.Markup.escape_text(head),
13 -                       GLib.Markup.escape_text(status.text), null, null);
14 +                       GLib.Markup.escape_text(status.text), null);
15                 
16                 string av_path = cache.get_or_download(status.user_avatar,
17                         Cache.Method.ASYNC, false);
18 @@ -92,7 +92,7 @@
19         
20         private void show_short_popup(string text) {
21                 Notification popup = new Notification(_("Updates"),
22 -                       text, null, null);
23 +                       text, null);
24                 popup.set_icon_from_pixbuf(logo);
25                 popup.set_timeout(5000);
26                 popup.set_urgency(Notify.Urgency.NORMAL);