GDBusObject{Proxy,Skeleton}: Prefix properties with g- to avoid collisions

Otherwise we might collide with an interface called Connection.

https://bugzilla.gnome.org/show_bug.cgi?id=659699

This is for the same reason that GDBusProxy has its properties
prefixed with g-.

Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
David Zeuthen
2011-09-21 08:16:43 -04:00
parent 1f5262d2c9
commit aabdb7e190
5 changed files with 27 additions and 27 deletions

View File

@@ -1444,8 +1444,8 @@ add_interfaces (GDBusObjectManagerClient *manager,
object_proxy_type = G_TYPE_DBUS_OBJECT_PROXY;
}
op = g_object_new (object_proxy_type,
"connection", manager->priv->connection,
"object-path", object_path,
"g-connection", manager->priv->connection,
"g-object-path", object_path,
NULL);
added = TRUE;
}