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:
Emmanuele Bassi
2013-06-24 15:43:04 +01:00
parent 6000bc9ea8
commit 54cc43630d
79 changed files with 101 additions and 101 deletions

View File

@@ -151,7 +151,7 @@ g_cancellable_class_init (GCancellableClass *klass)
static void
g_cancellable_init (GCancellable *cancellable)
{
cancellable->priv = g_cancellable_get_private (cancellable);
cancellable->priv = g_cancellable_get_instance_private (cancellable);
}
/**