SOURCES: libnotify-send-uchar-array-instead-of-char-array.patch (N...

freetz freetz at pld-linux.org
Sun Jun 18 16:42:32 CEST 2006


Author: freetz                       Date: Sun Jun 18 14:42:32 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- http://trac.galago-project.org/ticket/68

---- Files affected:
SOURCES:
   libnotify-send-uchar-array-instead-of-char-array.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libnotify-send-uchar-array-instead-of-char-array.patch
diff -u /dev/null SOURCES/libnotify-send-uchar-array-instead-of-char-array.patch:1.1
--- /dev/null	Sun Jun 18 16:42:32 2006
+++ SOURCES/libnotify-send-uchar-array-instead-of-char-array.patch	Sun Jun 18 16:42:27 2006
@@ -0,0 +1,21 @@
+diff -Naur libnotify-0.4.2.orig/libnotify/notification.c libnotify-0.4.2/libnotify/notification.c
+--- libnotify-0.4.2.orig/libnotify/notification.c	2006-06-15 11:14:03.000000000 +0200
++++ libnotify-0.4.2/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);
================================================================


More information about the pld-cvs-commit mailing list