Commit be2f82cb authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

cleanup.

2005-05-18  Michael Natterer  <mitch@gimp.org>

	* tools/test-clipboard.c: cleanup.
parent 1b294bf8
2005-05-18 Michael Natterer <mitch@gimp.org>
* tools/test-clipboard.c: cleanup.
2005-05-18 Michael Natterer <mitch@gimp.org>
* tools/Makefile.am
......
......@@ -81,12 +81,6 @@ main (gint argc,
return EXIT_FAILURE;
}
if (argc < 1)
{
g_printerr ("Usage: %s -m <mime-type> -c <file>\n", argv[0]);
return -1;
}
gtk_init (&argc, &argv);
clipboard = gtk_clipboard_get_for_display (gdk_display_get_default (),
......@@ -104,7 +98,7 @@ main (gint argc,
if (copy_filename)
{
if (! mime_type)
g_printerr ("Usage: %s -m <mime-type> -p <file>\n", argv[0]);
g_printerr ("Usage: %s -m <mime-type> -c <file>\n", argv[0]);
test_clipboard_copy (clipboard, mime_type, copy_filename);
return EXIT_SUCCESS;
......@@ -113,7 +107,7 @@ main (gint argc,
if (paste_filename)
{
if (! mime_type)
g_printerr ("Usage: %s -m <mime-type> -c <file>\n", argv[0]);
g_printerr ("Usage: %s -m <mime-type> -p <file>\n", argv[0]);
g_printerr ("unimplemented\n");
return EXIT_FAILURE;
......
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