diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-06-26 17:27:31 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-06-26 17:30:22 +0100 |
commit | 1c7ce1594afe82d65a48fa3740af4a9577827c28 (patch) | |
tree | 871cf0ff6bae31f0a7d11d5463f89f8e0269699b /tools | |
parent | 6438a0439d5594402af3aa96a334ffabf766212c (diff) |
tools: minor clean-up
Get rid of superfluous argument.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gst-inspect.c | 2 | ||||
-rw-r--r-- | tools/gst-launch.c | 2 | ||||
-rw-r--r-- | tools/gst-typefind.c | 2 | ||||
-rw-r--r-- | tools/tools.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c index 00f892f81..c08f335dd 100644 --- a/tools/gst-inspect.c +++ b/tools/gst-inspect.c @@ -1550,7 +1550,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); #endif - gst_tools_print_version ("gst-inspect"); + gst_tools_print_version (); if (print_all && argc > 1) { g_print ("-a requires no extra arguments\n"); diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 4a1ca3ba8..bd4fee751 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -967,7 +967,7 @@ main (int argc, char *argv[]) gst_init (&argc, &argv); #endif - gst_tools_print_version ("gst-launch"); + gst_tools_print_version (); #ifndef DISABLE_FAULT_HANDLER if (!no_fault) diff --git a/tools/gst-typefind.c b/tools/gst-typefind.c index cef900452..4cab8c4d4 100644 --- a/tools/gst-typefind.c +++ b/tools/gst-typefind.c @@ -164,7 +164,7 @@ main (int argc, char *argv[]) } g_option_context_free (ctx); - gst_tools_print_version ("gst-typefind"); + gst_tools_print_version (); if (filenames == NULL || *filenames == NULL) { g_print ("Please give a filename to typefind\n\n"); diff --git a/tools/tools.h b/tools/tools.h index 12144c53c..084085ecb 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -42,7 +42,7 @@ static gboolean __gst_tools_version = FALSE; N_("Print version information and exit"), NULL } static void -gst_tools_print_version (const gchar * tool) +gst_tools_print_version (void) { if (__gst_tools_version) { gchar *version_str; |