diff --git a/gdbus/client.c b/gdbus/client.c
index 86e1c76..84e0769 100644
--- a/gdbus/client.c
+++ b/gdbus/client.c
g_free(proxy);
}
-const char *g_dbus_proxy_get_path(GDBusProxy *proxy)
+const char *g_dbus_proxy_get_path(const GDBusProxy *proxy)
{
if (proxy == NULL)
return NULL;
diff --git a/gdbus/gdbus.h b/gdbus/gdbus.h
index 1a601c5..9bdff9e 100644
--- a/gdbus/gdbus.h
+++ b/gdbus/gdbus.h
GDBusProxy *g_dbus_proxy_ref(GDBusProxy *proxy);
void g_dbus_proxy_unref(GDBusProxy *proxy);
-const char *g_dbus_proxy_get_path(GDBusProxy *proxy);
+const char *g_dbus_proxy_get_path(const GDBusProxy *proxy);
const char *g_dbus_proxy_get_interface(GDBusProxy *proxy);
gboolean g_dbus_proxy_get_property(GDBusProxy *proxy, const char *name,