| 1 |
diff -Naur libnotify-0.4.2.orig/libnotify/notification.c libnotify-0.4.2/libnotify/notification.c |
|---|
| 2 |
--- libnotify-0.4.2.orig/libnotify/notification.c 2006-06-15 11:14:03.000000000 +0200 |
|---|
| 3 |
+++ libnotify-0.4.2/libnotify/notification.c 2006-06-18 05:09:08.000000000 +0200 |
|---|
| 4 |
@@ -901,7 +901,7 @@ |
|---|
| 5 |
return FALSE; |
|---|
| 6 |
} |
|---|
| 7 |
|
|---|
| 8 |
- g_value_init(value, dbus_g_type_get_collection("GArray", G_TYPE_CHAR)); |
|---|
| 9 |
+ g_value_init(value, DBUS_TYPE_G_UCHAR_ARRAY); |
|---|
| 10 |
g_value_set_boxed_take_ownership(value, byte_array); |
|---|
| 11 |
g_value_array_append(array, value); |
|---|
| 12 |
|
|---|
| 13 |
@@ -961,7 +961,7 @@ |
|---|
| 14 |
|
|---|
| 15 |
value = g_new0(GValue, 1); |
|---|
| 16 |
g_value_init(value, G_TYPE_VALUE_ARRAY); |
|---|
| 17 |
- g_value_set_boxed(value, image_struct); |
|---|
| 18 |
+ g_value_set_boxed_take_ownership(value, image_struct); |
|---|
| 19 |
|
|---|
| 20 |
g_hash_table_insert(notification->priv->hints, |
|---|
| 21 |
g_strdup("icon_data"), value); |
|---|