From 9551a811981d14f897d100508dbcff07db1fc503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= Date: Mon, 29 Jul 2013 17:29:05 +0200 Subject: [PATCH] Fix G_ADD_PRIVATE_DYNAMIC() --- gobject/gtypemodule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gtypemodule.h b/gobject/gtypemodule.h index 22cbdafa3..2580e1b9c 100644 --- a/gobject/gtypemodule.h +++ b/gobject/gtypemodule.h @@ -243,7 +243,7 @@ type_name##_register_type (GTypeModule *type_module) \ } #define G_ADD_PRIVATE_DYNAMIC(TypeName) { \ - TypeName##_private_offset = sizeof (TypeNamePrivate); \ + TypeName##_private_offset = sizeof (TypeName##Private); \ } GLIB_AVAILABLE_IN_ALL