mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 10:57:53 +02:00
Rename the generated private data getter function
As it turns out, we have examples of internal functions called type_name_get_private() in the wild (especially among older libraries), so we need to use a name for the per-instance private data getter function that hopefully won't conflict with anything.
This commit is contained in:
@@ -570,7 +570,7 @@ g_dbus_object_manager_client_class_init (GDBusObjectManagerClientClass *klass)
|
||||
static void
|
||||
g_dbus_object_manager_client_init (GDBusObjectManagerClient *manager)
|
||||
{
|
||||
manager->priv = g_dbus_object_manager_client_get_private (manager);
|
||||
manager->priv = g_dbus_object_manager_client_get_instance_private (manager);
|
||||
g_mutex_init (&manager->priv->lock);
|
||||
manager->priv->map_object_path_to_object_proxy = g_hash_table_new_full (g_str_hash,
|
||||
g_str_equal,
|
||||
|
Reference in New Issue
Block a user