X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Ftests%2Fgdbus-serialization.c;h=90e380fec70db60b9348df1e0aa61d90cb85ae42;hb=33952347ff9bc2875e7e1a2709566b38fc391bda;hp=9a96f50bc22b66e13ba509c503e900de34c82fea;hpb=107b4d4bae7dba4281bfaa0bef827f7b2376946a;p=platform%2Fupstream%2Fglib.git diff --git a/gio/tests/gdbus-serialization.c b/gio/tests/gdbus-serialization.c index 9a96f50..90e380f 100644 --- a/gio/tests/gdbus-serialization.c +++ b/gio/tests/gdbus-serialization.c @@ -522,6 +522,7 @@ check_serialization (GVariant *value, error = NULL; blob = g_dbus_message_to_blob (message, &blob_size, + G_DBUS_CAPABILITY_FLAGS_NONE, &error); g_assert_no_error (error); g_assert (blob != NULL); @@ -555,7 +556,10 @@ check_serialization (GVariant *value, /* Then serialize back and check that the body is identical */ error = NULL; - recovered_message = g_dbus_message_new_from_blob (blob, blob_size, &error); + recovered_message = g_dbus_message_new_from_blob (blob, + blob_size, + G_DBUS_CAPABILITY_FLAGS_NONE, + &error); g_assert_no_error (error); g_assert (recovered_message != NULL); g_assert (g_dbus_message_get_body (recovered_message) != NULL);