declare default_value as const and allocate a copy.
2005-04-06 Sven Neumann <sven@gimp.org> * libgimpconfig/gimpconfig-path.[ch] (gimp_param_spec_config_path): declare default_value as const and allocate a copy. * app/config/gimpbaseconfig.[ch]: gives access to the default values for temp and swap path. * app/base/base.c (base_init): create the temp directory if it doesn't exist (bug #172682). * plug-ins/uri/uri-backend-gnomevfs.c: fixed path in error message.
This commit is contained in:

committed by
Sven Neumann

parent
24cb9a5d7a
commit
e79099db0d
@ -57,7 +57,7 @@ GParamSpec * gimp_param_spec_config_path (const gchar *name,
|
||||
const gchar *nick,
|
||||
const gchar *blurb,
|
||||
GimpConfigPathType type,
|
||||
gchar *default_value,
|
||||
const gchar *default_value,
|
||||
GParamFlags flags);
|
||||
|
||||
GimpConfigPathType gimp_param_spec_config_path_type (GParamSpec *pspec);
|
||||
|
Reference in New Issue
Block a user