diff options
Diffstat (limited to 'gobject')
-rw-r--r-- | gobject/ChangeLog | 7 | ||||
-rw-r--r-- | gobject/gtype.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 2549eb26f..fc5e3d0da 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,10 @@ +2006-06-15 Federico Mena Quintero <federico@novell.com> + + * gtype.c (g_type_instance_get_private): Fix the error message so + that it mentions the right functions: + "g_type_instance_get_private() requires a prior call to + g_type_class_add_private()". + 2006-06-12 Matthias Clasen <mclasen@redhat.com> * === Released 2.11.3 === diff --git a/gobject/gtype.c b/gobject/gtype.c index acc94ef82..04bcc7e10 100644 --- a/gobject/gtype.c +++ b/gobject/gtype.c @@ -3557,7 +3557,7 @@ g_type_instance_get_private (GTypeInstance *instance, if (G_UNLIKELY (private_node->data->instance.private_size == parent_node->data->instance.private_size)) { - g_warning ("g_type_get_private() requires a prior call to g_type_add_private()"); + g_warning ("g_type_instance_get_private() requires a prior call to g_type_class_add_private()"); return NULL; } |