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>
|
2006-04-11 Michael Natterer <mitch@gimp.org>
|
||||||
|
|
||||||
* app/file/file-utils.[ch]
|
* app/file/file-utils.[ch]
|
||||||
|
@ -88,7 +88,7 @@ gimp_contexts_load (Gimp *gimp)
|
|||||||
g_print ("Parsing '%s'\n", gimp_filename_to_utf8 (filename));
|
g_print ("Parsing '%s'\n", gimp_filename_to_utf8 (filename));
|
||||||
|
|
||||||
if (! gimp_config_deserialize_file (GIMP_CONFIG (gimp_get_user_context (gimp)),
|
if (! gimp_config_deserialize_file (GIMP_CONFIG (gimp_get_user_context (gimp)),
|
||||||
filename,
|
filename,
|
||||||
NULL, &error))
|
NULL, &error))
|
||||||
{
|
{
|
||||||
if (error->code != GIMP_CONFIG_ERROR_OPEN_ENOENT)
|
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));
|
g_print ("Writing '%s'\n", gimp_filename_to_utf8 (filename));
|
||||||
|
|
||||||
if (! gimp_config_serialize_to_file (GIMP_CONFIG (gimp_get_user_context (gimp)),
|
if (! gimp_config_serialize_to_file (GIMP_CONFIG (gimp_get_user_context (gimp)),
|
||||||
filename,
|
filename,
|
||||||
"GIMP user context",
|
"GIMP user context",
|
||||||
"end of user context",
|
"end of user context",
|
||||||
NULL, &error))
|
NULL, &error))
|
||||||
{
|
{
|
||||||
g_message (error->message);
|
g_message (error->message);
|
||||||
g_error_free (error);
|
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
|
static GimpUnit
|
||||||
units_unit_new (gchar *identifier,
|
units_unit_new (gchar *identifier,
|
||||||
gdouble factor,
|
gdouble factor,
|
||||||
gint digits,
|
gint digits,
|
||||||
gchar *symbol,
|
gchar *symbol,
|
||||||
gchar *abbreviation,
|
gchar *abbreviation,
|
||||||
gchar *singular,
|
gchar *singular,
|
||||||
gchar *plural)
|
gchar *plural)
|
||||||
{
|
{
|
||||||
return _gimp_unit_new (the_unit_gimp,
|
return _gimp_unit_new (the_unit_gimp,
|
||||||
identifier,
|
identifier,
|
||||||
factor,
|
factor,
|
||||||
digits,
|
digits,
|
||||||
symbol,
|
symbol,
|
||||||
abbreviation,
|
abbreviation,
|
||||||
singular,
|
singular,
|
||||||
plural);
|
plural);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
Reference in New Issue
Block a user