mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +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:
@@ -436,7 +436,7 @@ G_DEFINE_TYPE_WITH_PRIVATE (GTestDBus, g_test_dbus, G_TYPE_OBJECT)
|
||||
static void
|
||||
g_test_dbus_init (GTestDBus *self)
|
||||
{
|
||||
self->priv = g_test_dbus_get_private (self);
|
||||
self->priv = g_test_dbus_get_instance_private (self);
|
||||
self->priv->service_dirs = g_ptr_array_new_with_free_func (g_free);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user