Lines 94-100
Link Here
|
94 |
mingw_flag=yes |
94 |
mingw_flag=yes |
95 |
;; |
95 |
;; |
96 |
*) |
96 |
*) |
97 |
GHB_PACKAGES="gtk+-2.0 >= 2.10 gthread-2.0 gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-pbutils-0.10 gio-2.0 libnotify gudev-1.0" |
97 |
GHB_PACKAGES="gtk+-2.0 >= 2.10 gthread-2.0 gstreamer-0.10 gstreamer-interfaces-0.10 gstreamer-video-0.10 gstreamer-pbutils-0.10 gio-2.0 libnotify dbus-glib-1 gudev-1.0" |
98 |
mingw_flag=no |
98 |
mingw_flag=no |
99 |
;; |
99 |
;; |
100 |
esac |
100 |
esac |
101 |
-- a/gtk/src/callbacks.c |
101 |
++ b/gtk/src/callbacks.c |
Lines 40-43
Link Here
|
40 |
|
40 |
|
41 |
#include <libnotify/notify.h> |
41 |
#include <libnotify/notify.h> |
|
|
42 |
#ifndef NOTIFY_CHECK_VERSION |
43 |
#define NOTIFY_CHECK_VERSION(x,y,z) 0 |
44 |
#endif |
45 |
|
42 |
#include <gdk/gdkx.h> |
46 |
#include <gdk/gdkx.h> |
43 |
#else |
47 |
#else |
Lines 4894-4901
Link Here
|
4894 |
"Encode Complete", |
4894 |
"Encode Complete", |
4895 |
"Put down that cocktail, Your HandBrake queue is done!", |
4895 |
"Put down that cocktail, Your HandBrake queue is done!", |
4896 |
"hb-icon", |
4896 |
"hb-icon" |
4897 |
NULL); |
4897 |
#if NOTIFY_CHECK_VERSION (0, 7, 0) |
|
|
4898 |
); |
4899 |
#else |
4900 |
,NULL); |
4898 |
notify_notification_attach_to_status_icon(notification, si); |
4901 |
notify_notification_attach_to_status_icon(notification, si); |
|
|
4902 |
#endif |
4899 |
g_signal_connect(notification, "closed", (GCallback)notify_closed_cb, ud); |
4903 |
g_signal_connect(notification, "closed", (GCallback)notify_closed_cb, ud); |
4900 |
notify_notification_show(notification, NULL); |
4904 |
notify_notification_show(notification, NULL); |
4901 |
#endif |
4905 |
#endif |