1 --- dhcpcd-ui-0.5.1/src/dhcpcd-gtk/main.c~ 2010-06-09 15:55:38.000000000 +0200
2 +++ dhcpcd-ui-0.5.1/src/dhcpcd-gtk/main.c 2011-04-07 11:43:05.405993616 +0200
6 notify_notification_close(nn, NULL);
7 +#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
8 if (gtk_status_icon_get_visible(status_icon))
9 nn = notify_notification_new_with_status_icon(title,
10 msg, icon, status_icon);
12 nn = notify_notification_new(title, msg, icon, NULL);
14 + nn = notify_notification_new(title, msg, icon);
16 notify_notification_set_timeout(nn, 5000);
17 g_signal_connect(nn, "closed", G_CALLBACK(notify_closed), NULL);
18 notify_notification_show(nn, NULL);