Magellan Linux

Contents of /trunk/pidgin/patches/pidgin-libnotify-0.14-libnotify07.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1584 - (show annotations) (download)
Tue Nov 29 15:53:59 2011 UTC (12 years, 5 months ago) by niro
File size: 555 byte(s)
-added libnotify-0.7 patch
1 --- src/pidgin-libnotify.c
2 +++ src/pidgin-libnotify.c
3 @@ -286,7 +286,15 @@
4 g_free (tr_body);
5 return;
6 }
7 +#ifdef NOTIFY_CHECK_VERSION
8 +#if NOTIFY_CHECK_VERSION (0, 7, 0)
9 + notification = notify_notification_new (title, tr_body, NULL);
10 +#else
11 notification = notify_notification_new (title, tr_body, NULL, NULL);
12 +#endif
13 +#else
14 + notification = notify_notification_new (title, tr_body, NULL, NULL);
15 +#endif
16 purple_debug_info (PLUGIN_ID, "notify(), new: "
17 "title: '%s', body: '%s', buddy: '%s'\n",
18 title, tr_body, best_name (buddy));