diff options
author | novel <novel@FreeBSD.org> | 2006-07-17 12:04:10 +0000 |
---|---|---|
committer | novel <novel@FreeBSD.org> | 2006-07-17 12:04:10 +0000 |
commit | b4d01aebc3024b49828d458e7e5dd65df7af4df7 (patch) | |
tree | 79e08456179c5fd2b59520d1b25dc85f5c851f44 /devel/libnotify/files | |
parent | c5b2ebf855641db2637ceae433034737204a64ad (diff) | |
download | FreeBSD-ports-b4d01aebc3024b49828d458e7e5dd65df7af4df7.zip FreeBSD-ports-b4d01aebc3024b49828d458e7e5dd65df7af4df7.tar.gz |
- Add a patch which checks the D-BUS struct type of the icon-data correctly
that is being sent trough libnotify (written by Milosz Derezynski)
- Bump PORTREVISION
Submitted by: Andreas Kohn (maintainer)
Diffstat (limited to 'devel/libnotify/files')
-rw-r--r-- | devel/libnotify/files/patch-libnotify-notification.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/libnotify/files/patch-libnotify-notification.c b/devel/libnotify/files/patch-libnotify-notification.c new file mode 100644 index 0000000..370f1db --- /dev/null +++ b/devel/libnotify/files/patch-libnotify-notification.c @@ -0,0 +1,21 @@ +diff -Naur libnotify-0.4.2.orig/libnotify/notification.c libnotify-0.4.2/libnotify/notification.c +--- libnotify/notification.c 2006-06-15 11:14:03.000000000 +0200 ++++ libnotify/notification.c 2006-06-18 05:09:08.000000000 +0200 +@@ -901,7 +901,7 @@ + return FALSE; + } + +- g_value_init(value, dbus_g_type_get_collection("GArray", G_TYPE_CHAR)); ++ g_value_init(value, DBUS_TYPE_G_UCHAR_ARRAY); + g_value_set_boxed_take_ownership(value, byte_array); + g_value_array_append(array, value); + +@@ -961,7 +961,7 @@ + + value = g_new0(GValue, 1); + g_value_init(value, G_TYPE_VALUE_ARRAY); +- g_value_set_boxed(value, image_struct); ++ g_value_set_boxed_take_ownership(value, image_struct); + + g_hash_table_insert(notification->priv->hints, + g_strdup("icon_data"), value); |