[glib] gdbusobjectskeleton: Fix compiler warnings
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gdbusobjectskeleton: Fix compiler warnings
- Date: Wed, 5 Dec 2012 18:31:05 +0000 (UTC)
commit 1e74e46a00bc4495f620b3c0e639f6c05d7d2389
Author: Colin Walters <walters verbum org>
Date: Fri Nov 30 15:18:01 2012 -0500
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 files 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;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]