print out the version and binary name in the header comment. Problem

Wed Dec 22 01:17:44 2004  Jonathan Blandford  <jrb@redhat.com>

        * queryloaders.c (main): print out the version and binary name in
        the header comment.  Problem reported by Seth Nickell.
This commit is contained in:
Jonathan Blandford 2004-12-22 06:20:26 +00:00 committed by Jonathan Blandford
parent 50d27adfb2
commit 2b1e0dbaea
2 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Wed Dec 22 01:17:44 2004 Jonathan Blandford <jrb@redhat.com>
* queryloaders.c (main): print out the version and binary name in
the header comment. Problem reported by Seth Nickell.
2004-12-16 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.0 ===

View File

@ -208,6 +208,7 @@ query_module (const char *dir, const char *file)
int main (int argc, char **argv)
{
gint i;
gchar *prgname;
#ifdef G_OS_WIN32
gchar *libdir;
@ -254,10 +255,13 @@ int main (int argc, char **argv)
#define PIXBUF_LIBDIR libdir
#endif
prgname = g_get_prgname ();
g_printf ("# GdkPixbuf Image Loader Modules file\n"
"# Automatically generated file, do not edit\n"
"#\n");
"# Automatically generated file, do not edit\n"
"# Created by %s from gtk+-%s\n"
"#\n",
(prgname ? prgname : "gdk-pixbuf-query-loaders"),
GDK_PIXBUF_VERSION);
if (argc == 1) {
#ifdef USE_GMODULE