Commit 2b1e0dba authored by Jonathan Blandford's avatar Jonathan Blandford Committed by Jonathan Blandford

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.
parent 50d27adf
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 ===
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment