app/config/Makefile.am moved code from gimpconfig.[ch] to these new files.
2003-07-24 Sven Neumann <sven@gimp.org> * app/config/Makefile.am * app/config/gimpconfig-error.[ch]: moved code from gimpconfig.[ch] to these new files. * app/config/gimpconfig-utils.[ch]: moved gimp_config_string_indent() here from gimpconfig.[ch]. * app/config/gimpconfig.[ch] * app/config/gimpconfigwriter.c * app/config/gimprc.c * app/config/gimpscanner.c * app/core/gimp-documents.c * app/core/gimp-parasites.c * app/core/gimp-templates.c * app/widgets/gimpdevices.c: changed accordingly.
This commit is contained in:
committed by
Sven Neumann
parent
8ea47faa35
commit
d75a2f79ba
@ -392,28 +392,6 @@ gimp_config_deserialize_return (GScanner *scanner,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
GQuark
|
||||
gimp_config_error_quark (void)
|
||||
{
|
||||
static GQuark q = 0;
|
||||
if (q == 0)
|
||||
q = g_quark_from_static_string ("gimp-config-error-quark");
|
||||
|
||||
return q;
|
||||
}
|
||||
|
||||
void
|
||||
gimp_config_string_indent (GString *string,
|
||||
gint indent_level)
|
||||
{
|
||||
gint i;
|
||||
|
||||
g_return_if_fail (string != NULL);
|
||||
g_return_if_fail (indent_level >= 0);
|
||||
|
||||
for (i = 0; i < indent_level; i++)
|
||||
g_string_append_len (string, " ", 4);
|
||||
}
|
||||
|
||||
/**
|
||||
* gimp_config_duplicate:
|
||||
|
||||
Reference in New Issue
Block a user