diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/handbrake/libnotify-0.7.patch |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/handbrake/libnotify-0.7.patch')
-rw-r--r-- | community/handbrake/libnotify-0.7.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/handbrake/libnotify-0.7.patch b/community/handbrake/libnotify-0.7.patch new file mode 100644 index 000000000..0def15254 --- /dev/null +++ b/community/handbrake/libnotify-0.7.patch @@ -0,0 +1,30 @@ +diff -Nur HandBrake-0.9.5.orig/gtk/src/callbacks.c HandBrake-0.9.5/gtk/src/callbacks.c +--- HandBrake-0.9.5.orig/gtk/src/callbacks.c 2011-03-07 13:06:20.333338164 -0800 ++++ HandBrake-0.9.5/gtk/src/callbacks.c 2011-03-07 13:21:32.973338933 -0800 +@@ -39,6 +39,10 @@ + #endif + + #include <libnotify/notify.h> ++#ifndef NOTIFY_CHECK_VERSION ++#define NOTIFY_CHECK_VERSION(x,y,z) 0 ++#endif ++ + #include <gdk/gdkx.h> + #else + #define WINVER 0x0500 +@@ -4889,9 +4893,13 @@ + notification = notify_notification_new( + "Encode Complete", + "Put down that cocktail, Your HandBrake queue is done!", +- "hb-icon", +- NULL); ++ "hb-icon" ++#if NOTIFY_CHECK_VERSION (0, 7, 0) ++ ); ++#else ++ ,NULL); + notify_notification_attach_to_status_icon(notification, si); ++#endif + g_signal_connect(notification, "closed", (GCallback)notify_closed_cb, ud); + notify_notification_show(notification, NULL); + #endif |