gdbus: Make g_dbus_proxy_get_path take const proxy
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 14 Sep 2020 19:43:09 +0000 (12:43 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:32 +0000 (19:08 +0530)
commitd20613afaadb74a9fff45e492e38c5573028dbc6
treee3b6e68ff6e4323cb5c469a592e0b538351366f9
parent4f53c8c46a762b97508e1c87335c68759cfa1261
gdbus: Make g_dbus_proxy_get_path take const proxy

This makes g_dbus_proxy_get_path take const proxy since it doesn't
change anything on the proxy and avoid pointless casts.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
gdbus/client.c
gdbus/gdbus.h