summaryrefslogtreecommitdiff
path: root/sysutils/gnome-volume-manager/patches/patch-src_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-volume-manager/patches/patch-src_manager.c')
-rw-r--r--sysutils/gnome-volume-manager/patches/patch-src_manager.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/gnome-volume-manager/patches/patch-src_manager.c b/sysutils/gnome-volume-manager/patches/patch-src_manager.c
new file mode 100644
index 00000000000..d9c9ecca8a8
--- /dev/null
+++ b/sysutils/gnome-volume-manager/patches/patch-src_manager.c
@@ -0,0 +1,18 @@
+$NetBSD: patch-src_manager.c,v 1.1 2013/08/15 05:45:54 obache Exp $
+
+* for libnotify-0.7 API change
+
+--- src/manager.c.orig 2009-02-15 20:55:39.000000000 +0000
++++ src/manager.c
+@@ -3714,9 +3714,9 @@ gvm_statfs_check_space (const char *udi,
+
+ icon = libhal_device_get_property_string (hal_ctx, udi, "info.icon_name", NULL);
+ if (icon != NULL)
+- n = notify_notification_new (_("Low Disk Space"), msg, icon, NULL);
++ n = notify_notification_new (_("Low Disk Space"), msg, icon);
+ else
+- n = notify_notification_new (_("Low Disk Space"), msg, "drive-harddisk", NULL);
++ n = notify_notification_new (_("Low Disk Space"), msg, "drive-harddisk");
+
+ notify_notification_set_urgency (n, NOTIFY_URGENCY_CRITICAL);
+ notify_notification_show (n, NULL);