From 1e74e46a00bc4495f620b3c0e639f6c05d7d2389 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 30 Nov 2012 15:18:01 -0500 Subject: [PATCH] gdbusobjectskeleton: Fix compiler warnings The G_OBJECT_WARN_INVALID_PROPERTY_ID() macro uses a local variable named "_object"; work around this by using "object" as the variable we pass in. https://bugzilla.gnome.org/show_bug.cgi?id=689377 --- gio/gdbusobjectskeleton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gdbusobjectskeleton.c b/gio/gdbusobjectskeleton.c index aa283b1..3152f8f 100644 --- a/gio/gdbusobjectskeleton.c +++ b/gio/gdbusobjectskeleton.c @@ -103,7 +103,7 @@ g_dbus_object_skeleton_get_property (GObject *_object, break; default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec); + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } @@ -123,7 +123,7 @@ g_dbus_object_skeleton_set_property (GObject *_object, break; default: - G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec); + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } -- 2.7.4