diff --git a/ChangeLog b/ChangeLog index f81b60be19..e66501d5a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Dec 22 01:24:01 2004 Jonathan Blandford + + * gtk/queryimmodules.c (main): print out the version and binary + name in the header comment. Problem reported by Seth Nickell. + 2004-12-20 Matthias Clasen * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index f81b60be19..e66501d5a1 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Wed Dec 22 01:24:01 2004 Jonathan Blandford + + * gtk/queryimmodules.c (main): print out the version and binary + name in the header comment. Problem reported by Seth Nickell. + 2004-12-20 Matthias Clasen * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index f81b60be19..e66501d5a1 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Wed Dec 22 01:24:01 2004 Jonathan Blandford + + * gtk/queryimmodules.c (main): print out the version and binary + name in the header comment. Problem reported by Seth Nickell. + 2004-12-20 Matthias Clasen * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index f81b60be19..e66501d5a1 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Wed Dec 22 01:24:01 2004 Jonathan Blandford + + * gtk/queryimmodules.c (main): print out the version and binary + name in the header comment. Problem reported by Seth Nickell. + 2004-12-20 Matthias Clasen * gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Pass a diff --git a/gtk/queryimmodules.c b/gtk/queryimmodules.c index 432b9d90c0..c83572a0bb 100644 --- a/gtk/queryimmodules.c +++ b/gtk/queryimmodules.c @@ -40,6 +40,7 @@ #include #include "gtk/gtkrc.h" #include "gtk/gtkimmodule.h" +#include "gtk/gtkversion.h" static char * escape_string (const char *str) @@ -159,8 +160,12 @@ int main (int argc, char **argv) gboolean error = FALSE; g_printf ("# GTK+ Input Method Modules file\n" - "# Automatically generated file, do not edit\n" - "#\n"); + "# Automatically generated file, do not edit\n" + "# Created by %s from gtk+-%d.%d.%d\n" + "#\n", + argv[0], + GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + if (argc == 1) /* No arguments given */ {