]> git.pld-linux.org Git - packages/dhcpcd-ui.git/blame - dhcpcd-ui-libnotify.patch
- fix build with libnotify 0.7
[packages/dhcpcd-ui.git] / dhcpcd-ui-libnotify.patch
CommitLineData
15fbc490 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:30:09.459298809 +0200
3@@ -198,7 +198,11 @@
4 nn = notify_notification_new_with_status_icon(title,
5 msg, icon, status_icon);
6 else
7- nn = notify_notification_new(title, msg, icon, NULL);
8+ nn = notify_notification_new(title, msg, icon
9+#if !defined(NOTIFY_VERSION_MINOR) || (NOTIFY_VERSION_MAJOR == 0 && NOTIFY_VERSION_MINOR < 7)
10+ , NULL
11+#endif
12+ );
13 notify_notification_set_timeout(nn, 5000);
14 g_signal_connect(nn, "closed", G_CALLBACK(notify_closed), NULL);
15 notify_notification_show(nn, NULL);
This page took 0.044322 seconds and 4 git commands to generate.