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:
@@ -172,7 +172,7 @@ g_win32_input_stream_get_property (GObject *object,
|
||||
static void
|
||||
g_win32_input_stream_init (GWin32InputStream *win32_stream)
|
||||
{
|
||||
win32_stream->priv = g_win32_input_stream_get_private (win32_stream);
|
||||
win32_stream->priv = g_win32_input_stream_get_instance_private (win32_stream);
|
||||
win32_stream->priv->handle = NULL;
|
||||
win32_stream->priv->close_handle = TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user