Bugfix: removed double-stripping of parentheses 95/83395/1
authorAdrian Szyndela <adrian.s@samsung.com>
Wed, 10 Aug 2016 12:03:09 +0000 (14:03 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Wed, 10 Aug 2016 12:07:40 +0000 (14:07 +0200)
commit5f04cd07457352655e91d874558faba70e566979
treead3103012eb511c1f99d32f76e93efa19ea97d65
parent55e988773d57f4b3e413818b793e9a1f072d5dde
Bugfix: removed double-stripping of parentheses

GVariant keeps body inside structs. This fact is kept hidden from
libdbus user. Thus, struct parentheses have to be added, removed
in proper places. There was one such place in
_dbus_type_reader_gvariant_init(). However, it was not sufficient
and get_const_signature() also got stripping code. Unfortunately,
I didn't notice that stripping should be removed in the first
of these functions. This commit fixes that.

Change-Id: I5c2e6c7c8212d283fd6da1cc998a2711038905f3
dbus/dbus-marshal-gvariant.c