]> git.pld-linux.org Git - packages/dhcpcd-ui.git/blob - dhcpcd-ui-libnotify.patch
0dc8b429d7cd9e849baffaffee27768f1a2af3cb
[packages/dhcpcd-ui.git] / dhcpcd-ui-libnotify.patch
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
3 @@ -194,11 +194,15 @@
4         g_strfreev(msgs);
5         if (nn != NULL)
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);
11         else
12                 nn = notify_notification_new(title, msg, icon, NULL);
13 +#else
14 +       nn = notify_notification_new(title, msg, icon);
15 +#endif
16         notify_notification_set_timeout(nn, 5000);
17         g_signal_connect(nn, "closed", G_CALLBACK(notify_closed), NULL);
18         notify_notification_show(nn, NULL);
This page took 0.120609 seconds and 2 git commands to generate.