gtype: Fix typo in g_type_class_add_private() error message
authorEmanuele Aina <emanuele.aina@collabora.com>
Sat, 3 Aug 2013 09:51:00 +0000 (11:51 +0200)
committerEmanuele Aina <emanuele.aina@collabora.com>
Sun, 4 Aug 2013 06:15:30 +0000 (08:15 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=705398

gobject/gtype.c

index 23f503d..1445691 100644 (file)
@@ -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;
        }
     }