[ShellDocSystem] Check GTK+ version for constness of argument

This commit is contained in:
Colin Walters 2009-12-15 16:29:21 -05:00
parent a8d18ac18a
commit 5a3c3efbeb

View File

@ -255,7 +255,12 @@ shell_doc_system_open (ShellDocSystem *system,
else
{
char *app_name;
char *app_exec, *app_exec_quoted;
#if GTK_MINOR_VERSION >= 18
const char *app_exec;
#else
char *app_exec;
#endif
char *app_exec_quoted;
guint count;
time_t time;