[libgda] Use g_print instead of printf



commit bcc5a23a7e84a91a47ee0bb7ca1b53d968c01dda
Author: Vivien Malerba <malerba gnome-db org>
Date:   Sun Nov 20 14:54:21 2011 +0100

    Use g_print instead of printf

 libgda/sqlite/mkkeywordhash.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/sqlite/mkkeywordhash.c b/libgda/sqlite/mkkeywordhash.c
index dc6ce89..536d255 100644
--- a/libgda/sqlite/mkkeywordhash.c
+++ b/libgda/sqlite/mkkeywordhash.c
@@ -488,7 +488,7 @@ main (int argc, char **argv)
 	printf("\tint i;\n");
 	printf("\tfor (i = 0; i < %d; i++) {\n", nKeyword);
 	printf("\t\tif (! %sis_keyword (%skeywords[i]))\n", prefix ? prefix : "", prefix ? prefix : "");
-	printf("\t\t\tprintf (\"KEYWORK %%s ignored!\\n\", %skeywords[i]);\n", prefix ? prefix : "");
+	printf("\t\t\tg_print (\"KEYWORK %%s ignored!\\n\", %skeywords[i]);\n", prefix ? prefix : "");
 	printf("\t}\n");
 	printf("}\n\n");
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]