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:
@@ -252,7 +252,7 @@ g_simple_action_group_finalize (GObject *object)
|
||||
static void
|
||||
g_simple_action_group_init (GSimpleActionGroup *simple)
|
||||
{
|
||||
simple->priv = g_simple_action_group_get_private (simple);
|
||||
simple->priv = g_simple_action_group_get_instance_private (simple);
|
||||
simple->priv->table = g_hash_table_new_full (g_str_hash, g_str_equal,
|
||||
g_free, g_object_unref);
|
||||
}
|
||||
|
Reference in New Issue
Block a user