gobject: Use local variable names in macros less likely to clash
authorColin Walters <walters@verbum.org>
Fri, 30 Nov 2012 20:22:54 +0000 (15:22 -0500)
committerColin Walters <walters@verbum.org>
Wed, 5 Dec 2012 18:30:14 +0000 (13:30 -0500)
commit33de093b5abf26c42e9b6ead38088afd21e61991
tree7b44fa641ee03b177988c9b1ebcb30acab1a174a
parente97a2f4195fb5bd8d7777651232dc10487a1ed92
gobject: Use local variable names in macros less likely to clash

At least GDBus had code that had "_object" as a parameter to one of
its functions, but this clashes with the GObject macro
G_OBJECT_WARN_INVALID_PROPERTY_ID() which created a local "_object".

Since many of us cargo cult around copies of objects, let's be
defensive here and use local variable names less likely to clash with
application code.

https://bugzilla.gnome.org/show_bug.cgi?id=689377
gobject/gobject.h