diff options
author | Christopher Blizzard <blizzard@redhat.com> | 2001-12-08 21:13:02 +0000 |
---|---|---|
committer | Christopher Blizzard <blizzard@src.gnome.org> | 2001-12-08 21:13:02 +0000 |
commit | 1d0e9b7f289cac390509778007c32d93f7a48e3e (patch) | |
tree | 86f7ad495a035082928cf2f0a6163ac0a038382c /gdk/gdk.c | |
parent | 6793f772fc57ecb587925e1e0c845a29503356c4 (diff) | |
download | gdk-pixbuf-1d0e9b7f289cac390509778007c32d93f7a48e3e.tar.gz |
Fallback to setting the prgname to "<unknown>" if someone doesn't pass in
Sat Dec 8 16:12:10 2001 Christopher Blizzard <blizzard@redhat.com>
* gdk/gdk.c (gdk_init_check): Fallback to setting the prgname to
"<unknown>" if someone doesn't pass in a valid argc. (Patch from
Fabrice Bellet <fabrice@gnu.org>, #54127).
Diffstat (limited to 'gdk/gdk.c')
-rw-r--r-- | gdk/gdk.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -299,7 +299,10 @@ gdk_init_check (int *argc, g_set_prgname ((*argv)[0]); } } - + else + { + g_set_prgname ("<unknown>"); + } #ifdef G_ENABLE_DEBUG { |