From galago-commits at freedesktop.org Fri Jul 24 02:13:59 2009 From: galago-commits at freedesktop.org (galago-commits at freedesktop.org) Date: Fri, 24 Jul 2009 02:13:59 -0700 (PDT) Subject: [Galago-commits] r3038 - in trunk/libnotify: . libnotify Message-ID: <20090724091359.1A841D1FF1@osiris.chipx86.com> Author: chipx86 Date: 2009-07-24 02:13:56 -0700 (Fri, 24 Jul 2009) New Revision: 3038 Modified: trunk/libnotify/ChangeLog trunk/libnotify/libnotify/notification.c Log: Patch by Andre Klapper to remove deprecated glib symbols. Modified: trunk/libnotify/ChangeLog =================================================================== --- trunk/libnotify/ChangeLog 2009-06-13 23:44:01 UTC (rev 3037) +++ trunk/libnotify/ChangeLog 2009-07-24 09:13:56 UTC (rev 3038) @@ -1,3 +1,7 @@ +Sun Jun 14 14:50:00 UTC 2009 Andre Klapper + * libnotify/notification.c: + - Remove deprecated GLib symbols. + ========================= 0.4.5 ========================= Thu Nov 20 03:16:53 PST 2008 Christian Hammond Modified: trunk/libnotify/libnotify/notification.c =================================================================== --- trunk/libnotify/libnotify/notification.c 2009-06-13 23:44:01 UTC (rev 3037) +++ trunk/libnotify/libnotify/notification.c 2009-07-24 09:13:56 UTC (rev 3038) @@ -951,7 +951,7 @@ byte_array = g_array_append_vals(byte_array, bytes, len); g_value_init(&value, DBUS_TYPE_G_UCHAR_ARRAY); - g_value_set_boxed_take_ownership(&value, byte_array); + g_value_take_boxed(&value, byte_array); g_value_array_append(array, &value); g_value_unset(&value); } @@ -1009,7 +1009,7 @@ value = g_new0(GValue, 1); g_value_init(value, G_TYPE_VALUE_ARRAY); - g_value_set_boxed_take_ownership(value, image_struct); + g_value_take_boxed(value, image_struct); g_hash_table_insert(notification->priv->hints, g_strdup("icon_data"), value); @@ -1149,7 +1149,7 @@ hint_value = g_new0(GValue, 1); g_value_init(hint_value, dbus_g_type_get_collection("GArray", G_TYPE_UCHAR)); - g_value_set_boxed_take_ownership(hint_value, byte_array); + g_value_take_boxed(hint_value, byte_array); g_hash_table_insert(notification->priv->hints, g_strdup(key), hint_value);