Diff between 18e10e0c89f7df485517c422477f1ceffc8e58b7 and 8f3a62684d251354b0e3a690a57f82aa1ab266eb

Changed Files

File Additions Deletions Status
gdbus/client.c +1 -1 modified
gdbus/gdbus.h +1 -1 modified

Full Patch

diff --git a/gdbus/client.c b/gdbus/client.c
index 86e1c76..84e0769 100644
--- a/gdbus/client.c
+++ b/gdbus/client.c
@@ -693,7 +693,7 @@ void g_dbus_proxy_unref(GDBusProxy *proxy)
 	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
@@ -333,7 +333,7 @@ GDBusProxy *g_dbus_proxy_new(GDBusClient *client, const char *path,
 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,