5 #include "main_window_cb.h"
8 +#ifndef NOTIFY_CHECK_VERSION
9 +#define NOTIFY_CHECK_VERSION(x,y,z) 0
13 static GdkPixbuf *systray_load_icon (const gchar *filename);
14 static GdkPixbuf *systray_pixbuf_new_from_file(const gchar *filename);
15 static void systray_clicked(GtkStatusIcon *status_icon,guint button,guint activate_time,gpointer user_data);
17 if (!notify_is_initted ())
18 if (!notify_init ("gwget"))
20 - NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name,NULL);
21 + NotifyNotification *notification = notify_notification_new(primary,secondary,icon_name
22 +#if NOTIFY_CHECK_VERSION (0, 7, 3)
27 notify_notification_show(notification,NULL);