updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnomebaker / gnomebaker-0.6.4-libnotify-0.7.patch
blob27ae276d77a3204de67cf5f2706c31d7e23db213
1 --- src/gblibnotify.c
2 +++ src/gblibnotify.c
3 @@ -87,7 +87,15 @@
4 #ifdef HAVE_LIBNOTIFY
5 #if (LIBNOTIFY_VERSION_MINOR >= 3)
6 gint x, y;
7 +#ifdef NOTIFY_CHECK_VERSION
8 +#if NOTIFY_CHECK_VERSION (0, 7, 0)
9 + global_notify = notify_notification_new (subject, content, "");
10 +#else
11 global_notify = notify_notification_new (subject, content, "", NULL);
12 +#endif
13 +#else
14 + global_notify = notify_notification_new (subject, content, "", NULL);
15 +#endif
16 /* not sure if we have to free the pixbuf since it could be used internally in libnotify */
17 GdkPixbuf *icon_pixbuf = gbcommon_get_icon_for_name("gnomebaker-48", 48);
18 /* I think they changed the api between 0.3.0 and 0.3.1+ */