[glib] gtype: Fix typo in g_type_class_add_private() error message
- From: Emanuele Aina <emaaa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gtype: Fix typo in g_type_class_add_private() error message
- Date: Sun, 4 Aug 2013 06:22:48 +0000 (UTC)
commit 66233f1d1b70a4c220b1dc98e5338e8469a82ff1
Author: Emanuele Aina <emanuele aina collabora com>
Date: Sat Aug 3 11:51:00 2013 +0200
gtype: Fix typo in g_type_class_add_private() error message
https://bugzilla.gnome.org/show_bug.cgi?id=705398
gobject/gtype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gobject/gtype.c b/gobject/gtype.c
index 23f503d..1445691 100644
--- a/gobject/gtype.c
+++ b/gobject/gtype.c
@@ -4496,7 +4496,7 @@ g_type_class_add_private (gpointer g_class,
TypeNode *pnode = lookup_type_node_I (NODE_PARENT_TYPE (node));
if (node->data->instance.private_size != pnode->data->instance.private_size)
{
- g_warning ("g_type_add_private() called multiple times for the same type");
+ g_warning ("g_type_class_add_private() called multiple times for the same type");
return;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]