mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 20:35:49 +01:00
GDBusMessage: print more debug info about alignment
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
parent
ce57101219
commit
e28d3ef921
@ -1066,12 +1066,12 @@ parse_value_from_blob (GMemoryInputStream *mis,
|
|||||||
type_string = g_variant_type_peek_string (type);
|
type_string = g_variant_type_peek_string (type);
|
||||||
|
|
||||||
#ifdef DEBUG_SERIALIZER
|
#ifdef DEBUG_SERIALIZER
|
||||||
if (!just_align)
|
|
||||||
{
|
{
|
||||||
gchar *s;
|
gchar *s;
|
||||||
s = g_variant_type_dup_string (type);
|
s = g_variant_type_dup_string (type);
|
||||||
g_print ("%*sReading type %s from offset 0x%04x",
|
g_print ("%*s%s type %s from offset 0x%04x",
|
||||||
indent, "",
|
indent, "",
|
||||||
|
just_align ? "Aligning" : "Reading",
|
||||||
s,
|
s,
|
||||||
(gint) g_seekable_tell (G_SEEKABLE (mis)));
|
(gint) g_seekable_tell (G_SEEKABLE (mis)));
|
||||||
g_free (s);
|
g_free (s);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user