mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33: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:
@@ -962,7 +962,7 @@ g_socket_initable_iface_init (GInitableIface *iface)
|
||||
static void
|
||||
g_socket_init (GSocket *socket)
|
||||
{
|
||||
socket->priv = g_socket_get_private (socket);
|
||||
socket->priv = g_socket_get_instance_private (socket);
|
||||
|
||||
socket->priv->fd = -1;
|
||||
socket->priv->blocking = TRUE;
|
||||
|
Reference in New Issue
Block a user