Lines 39-44
Link Here
|
39 |
#endif |
39 |
#endif |
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 |
44 |
#define WINVER 0x0500 |
48 |
#define WINVER 0x0500 |
Lines 4889-4897
Link Here
|
4889 |
notification = notify_notification_new( |
4893 |
notification = notify_notification_new( |
4890 |
"Encode Complete", |
4894 |
"Encode Complete", |
4891 |
"Put down that cocktail, Your HandBrake queue is done!", |
4895 |
"Put down that cocktail, Your HandBrake queue is done!", |
4892 |
"hb-icon", |
4896 |
"hb-icon" |
4893 |
NULL); |
4897 |
#if NOTIFY_CHECK_VERSION (0, 7, 0) |
|
|
4898 |
); |
4899 |
#else |
4900 |
,NULL); |
4894 |
notify_notification_attach_to_status_icon(notification, si); |
4901 |
notify_notification_attach_to_status_icon(notification, si); |
|
|
4902 |
#endif |
4895 |
g_signal_connect(notification, "closed", (GCallback)notify_closed_cb, ud); |
4903 |
g_signal_connect(notification, "closed", (GCallback)notify_closed_cb, ud); |
4896 |
notify_notification_show(notification, NULL); |
4904 |
notify_notification_show(notification, NULL); |
4897 |
#endif |
4905 |
#endif |