tools: Move gst_tools_print_version call to avoid warning from new GLib.
authorOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
Thu, 3 Dec 2009 11:31:19 +0000 (12:31 +0100)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 9 Dec 2009 06:24:22 +0000 (07:24 +0100)
commit93dd95f02ef3fa530f54ce81e8ffba96f3b679cb
tree4cc6944d9c451a112e0257c05255859f101861ee
parent1c66f306d63e2a02025deb204137ee1da5e098b5
tools: Move gst_tools_print_version call to avoid warning from new GLib.

g_setprgname is implicitly called by g_option_context_new() with a check
to see if it's been set already.

Fixes bug #604093.
tools/gst-inspect.c
tools/gst-launch.c