Use g_set_error_literal where appropriate. Bug #538640.

svn path=/trunk/; revision=20463
This commit is contained in:
Christian Persch
2008-06-19 12:47:48 +00:00
parent 1a30e12586
commit 446f41757b
31 changed files with 747 additions and 703 deletions

View File

@ -734,7 +734,7 @@ post_parse_hook (GOptionContext *context,
g_set_error (error,
G_OPTION_ERROR,
G_OPTION_ERROR_FAILED,
"cannot open display: %s",
_("Cannot open display: %s"),
display_name ? display_name : "" );
return FALSE;