app/units.c converted tabs to spaces.
2006-04-11 Sven Neumann <sven@gimp.org> * app/units.c * app/core/gimp-contexts.c: converted tabs to spaces.
This commit is contained in:

committed by
Sven Neumann

parent
74290612e5
commit
ba5bbf1c48
@ -1,3 +1,8 @@
|
||||
2006-04-11 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/units.c
|
||||
* app/core/gimp-contexts.c: converted tabs to spaces.
|
||||
|
||||
2006-04-11 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/file/file-utils.[ch]
|
||||
|
@ -88,7 +88,7 @@ gimp_contexts_load (Gimp *gimp)
|
||||
g_print ("Parsing '%s'\n", gimp_filename_to_utf8 (filename));
|
||||
|
||||
if (! gimp_config_deserialize_file (GIMP_CONFIG (gimp_get_user_context (gimp)),
|
||||
filename,
|
||||
filename,
|
||||
NULL, &error))
|
||||
{
|
||||
if (error->code != GIMP_CONFIG_ERROR_OPEN_ENOENT)
|
||||
@ -113,10 +113,10 @@ gimp_contexts_save (Gimp *gimp)
|
||||
g_print ("Writing '%s'\n", gimp_filename_to_utf8 (filename));
|
||||
|
||||
if (! gimp_config_serialize_to_file (GIMP_CONFIG (gimp_get_user_context (gimp)),
|
||||
filename,
|
||||
"GIMP user context",
|
||||
filename,
|
||||
"GIMP user context",
|
||||
"end of user context",
|
||||
NULL, &error))
|
||||
NULL, &error))
|
||||
{
|
||||
g_message (error->message);
|
||||
g_error_free (error);
|
||||
|
26
app/units.c
26
app/units.c
@ -48,21 +48,21 @@ units_get_number_of_built_in_units (void)
|
||||
|
||||
static GimpUnit
|
||||
units_unit_new (gchar *identifier,
|
||||
gdouble factor,
|
||||
gint digits,
|
||||
gchar *symbol,
|
||||
gchar *abbreviation,
|
||||
gchar *singular,
|
||||
gchar *plural)
|
||||
gdouble factor,
|
||||
gint digits,
|
||||
gchar *symbol,
|
||||
gchar *abbreviation,
|
||||
gchar *singular,
|
||||
gchar *plural)
|
||||
{
|
||||
return _gimp_unit_new (the_unit_gimp,
|
||||
identifier,
|
||||
factor,
|
||||
digits,
|
||||
symbol,
|
||||
abbreviation,
|
||||
singular,
|
||||
plural);
|
||||
identifier,
|
||||
factor,
|
||||
digits,
|
||||
symbol,
|
||||
abbreviation,
|
||||
singular,
|
||||
plural);
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
Reference in New Issue
Block a user