mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +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:
@@ -185,7 +185,7 @@ invoke_closure_wait_and_free (InvokeClosure *closure,
|
||||
static void
|
||||
g_tls_interaction_init (GTlsInteraction *interaction)
|
||||
{
|
||||
interaction->priv = g_tls_interaction_get_private (interaction);
|
||||
interaction->priv = g_tls_interaction_get_instance_private (interaction);
|
||||
interaction->priv->context = g_main_context_ref_thread_default ();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user