[ShellDocSystem] Check GTK+ version for constness of argument
This commit is contained in:
parent
a8d18ac18a
commit
5a3c3efbeb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user