mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +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:
@@ -226,7 +226,7 @@ g_dbus_object_manager_server_class_init (GDBusObjectManagerServerClass *klass)
|
||||
static void
|
||||
g_dbus_object_manager_server_init (GDBusObjectManagerServer *manager)
|
||||
{
|
||||
manager->priv = g_dbus_object_manager_server_get_private (manager);
|
||||
manager->priv = g_dbus_object_manager_server_get_instance_private (manager);
|
||||
g_mutex_init (&manager->priv->lock);
|
||||
manager->priv->map_object_path_to_data = g_hash_table_new_full (g_str_hash,
|
||||
g_str_equal,
|
||||
|
Reference in New Issue
Block a user