From 5d3fe6f2f0ce0092c16fd097417fedb28b0f7908 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Thu, 14 Aug 2008 19:35:36 +0000 Subject: [PATCH] Fix generation of enum/bitfields 2008-08-14 Johan Dahlin * tests/Makefile.am: * tests/enum.gir: * tools/generate.c (write_enum_info): Fix generation of enum/bitfields svn path=/trunk/; revision=378 --- girepository/tools/generate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/girepository/tools/generate.c b/girepository/tools/generate.c index 226f1ac1d..4cbf23ec3 100644 --- a/girepository/tools/generate.c +++ b/girepository/tools/generate.c @@ -603,13 +603,13 @@ write_enum_info (const gchar *namespace, type_init = g_registered_type_info_get_type_init ((GIRegisteredTypeInfo*)info); if (g_base_info_get_type ((GIBaseInfo *)info) == GI_INFO_TYPE_ENUM) - g_fprintf (file, " \n"); + g_fprintf (file, " \n"); else - g_fprintf (file, " \n"); + g_fprintf (file, " \n"); } static void