mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user