mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +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:
@@ -304,7 +304,7 @@ g_unix_socket_address_class_init (GUnixSocketAddressClass *klass)
|
||||
static void
|
||||
g_unix_socket_address_init (GUnixSocketAddress *address)
|
||||
{
|
||||
address->priv = g_unix_socket_address_get_private (address);
|
||||
address->priv = g_unix_socket_address_get_instance_private (address);
|
||||
|
||||
memset (address->priv->path, 0, sizeof (address->priv->path));
|
||||
address->priv->path_len = -1;
|
||||
|
Reference in New Issue
Block a user