Patch for Libnotify 0.7 from ArchLinux
http://projects.archlinux.org/svntogit/community.git/plain/pidgin-libnotify/repos/community-x86_64/pidgin-libnotify-0.14-libnotify-0.7.patch
This commit is contained in:
parent
8dd03258ec
commit
4578c678df
2 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2011-03-15 Cedric Girard <girard.cedric@gmail.com>
|
||||
* src/pidgin-libnotify.c: patch from
|
||||
http://projects.archlinux.org/svntogit/community.git/plain/pidgin-libnotify/repos/community-x86_64/pidgin-libnotify-0.14-libnotify-0.7.patch
|
||||
to add compatibility with libnotify 0.7
|
||||
2011-03-15 Cedric Girard <girard.cedric@gmail.com>
|
||||
|
||||
* src/pidgin-libnotify.c: patch from
|
||||
|
|
|
@ -329,7 +329,15 @@ notify (const GdkPixbuf *icon,
|
|||
}
|
||||
|
||||
|
||||
#ifdef NOTIFY_CHECK_VERSION
|
||||
#if NOTIFY_CHECK_VERSION (0, 7, 0)
|
||||
notification = notify_notification_new (title, tr_body, NULL);
|
||||
#else
|
||||
notification = notify_notification_new (title, tr_body, NULL, NULL);
|
||||
#endif
|
||||
#else
|
||||
notification = notify_notification_new (title, tr_body, NULL, NULL);
|
||||
#endif
|
||||
purple_debug_info (PLUGIN_ID, "notify(), new 0x%x: "
|
||||
"title: '%s', body: '%s', buddy: '%s'\n",
|
||||
notification_key, title, tr_body, buddy_name);
|
||||
|
|
Loading…
Reference in a new issue