From 2aa97e2847246d95cae32c9c061162bfb4af838a Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 15 Nov 2012 08:42:36 -0500 Subject: [PATCH] gdbus: Fix some compiler warnings Code appears to have been copy/pasted from a bit which used _object, but I think it's clearer to always use the "self" parameter anyways. --- gio/gdbusobjectmanagerclient.c | 4 ++-- gio/gdbusobjectproxy.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gio/gdbusobjectmanagerclient.c b/gio/gdbusobjectmanagerclient.c index 486819df9..b77558b70 100644 --- a/gio/gdbusobjectmanagerclient.c +++ b/gio/gdbusobjectmanagerclient.c @@ -251,7 +251,7 @@ g_dbus_object_manager_client_get_property (GObject *_object, break; default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec); + G_OBJECT_WARN_INVALID_PROPERTY_ID (manager, prop_id, pspec); break; } } @@ -310,7 +310,7 @@ g_dbus_object_manager_client_set_property (GObject *_object, break; default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec); + G_OBJECT_WARN_INVALID_PROPERTY_ID (manager, prop_id, pspec); break; } } diff --git a/gio/gdbusobjectproxy.c b/gio/gdbusobjectproxy.c index da76c8bc9..9f2807447 100644 --- a/gio/gdbusobjectproxy.c +++ b/gio/gdbusobjectproxy.c @@ -102,7 +102,7 @@ g_dbus_object_proxy_get_property (GObject *object, break; default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec); + G_OBJECT_WARN_INVALID_PROPERTY_ID (proxy, prop_id, pspec); break; } } @@ -130,7 +130,7 @@ g_dbus_object_proxy_set_property (GObject *object, break; default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec); + G_OBJECT_WARN_INVALID_PROPERTY_ID (proxy, prop_id, pspec); break; } }