From fc4cffc61d23f368f111303db8b2bc24404aedc4 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 22 Aug 2008 21:14:31 +0000 Subject: [PATCH] Default to --raw. Update. 2008-08-22 Colin Walters * tools/generate.c, tools/compiler.c: Default to --raw. * all Makefile.am: Update. svn path=/trunk/; revision=462 --- girepository/tools/generate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/girepository/tools/generate.c b/girepository/tools/generate.c index 05c1a076b..52e1c8436 100644 --- a/girepository/tools/generate.c +++ b/girepository/tools/generate.c @@ -1159,7 +1159,7 @@ load_typelib (const gchar *filename, int main (int argc, char *argv[]) { - gboolean raw = FALSE; + gboolean shlib = FALSE; gchar **input = NULL; GOptionContext *context; GError *error = NULL; @@ -1168,7 +1168,7 @@ main (int argc, char *argv[]) GTypelib *data; GOptionEntry options[] = { - { "raw", 0, 0, G_OPTION_ARG_NONE, &raw, "handle raw typelib", NULL }, + { "shlib", 0, 0, G_OPTION_ARG_NONE, &shlib, "handle typelib embedded in shlib", NULL }, { "output", 'o', 0, G_OPTION_ARG_FILENAME, &output, "output file", "FILE" }, { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &input, NULL, NULL }, { NULL, } @@ -1195,7 +1195,7 @@ main (int argc, char *argv[]) const guchar *typelib; gsize len; - if (raw) + if (!shlib) { if (!g_file_get_contents (input[i], (gchar **)&typelib, &len, &error)) {