formatting.

2006-11-05  Sven Neumann  <sven@gimp.org>

	* app/xcf-save.c: formatting.
This commit is contained in:
Sven Neumann 2006-11-06 08:14:46 +00:00 committed by Sven Neumann
parent 43b20e0673
commit 41611db1a4
3 changed files with 55 additions and 49 deletions

View File

@ -1,3 +1,27 @@
2006-11-05 Sven Neumann <sven@gimp.org>
* app/xcf-save.c: formatting.
2006-11-05 Sven Neumann <sven@gimp.org>
* app/dialogs/file-save-dialog.c (file_save_dialog_check_uri): use
file_utils_uri_display_basename() instead of g_path_get_basename()
to get an uri's basename.
2006-11-05 Sven Neumann <sven@gimp.org>
* app/file/file-save.c (file_save): only save a thumbnail if we
are saving as XCF. Fixes bug #25272.
* tools/pdbgen/pdb/fileops.pdb: create a libgimp wrapper for the
"gimp-file-save-thumbnail" procedure.
* app/pdb/fileops_cmds.c
* libgimp/gimpfileops_pdb.[ch]: regenerated.
* plug-ins/common/compressor.c (save_image): ask the core to save
a thumbnail for compressed XCF files.
2006-11-05 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpviewrendererpalette.c
@ -40,25 +64,6 @@
* app/tools/gimpcroptool.c
* app/tools/gimprectangleoptions.c: whitespace stuff.
2006-11-05 Sven Neumann <sven@gimp.org>
* app/dialogs/file-save-dialog.c (file_save_dialog_check_uri): use
file_utils_uri_display_basename() instead of g_path_get_basename()
to get an uri's basename.
2006-11-05 Sven Neumann <sven@gimp.org>
* app/file/file-save.c (file_save): only save a thumbnail if we
are saving as XCF. Fixes bug #25272.
* tools/pdbgen/pdb/fileops.pdb: create a libgimp wrapper for the
"gimp-file-save-thumbnail" procedure.
* libgimp/gimpfileops_pdb.[ch]: regenerated.
* plug-ins/common/compressor.c (save_image): ask the core to save
a thumbnail for compressed XCF files.
2006-11-05 Sven Neumann <sven@gimp.org>
* plug-ins/common/tileit.c: applied patch from Saul Goode to fix

View File

@ -82,13 +82,14 @@ file_load_invoker (GimpProcedure *procedure,
g_value_transform (&args->values[i], &new_args->values[i]);
for (i = 3; i < proc->num_args; i++)
if (G_IS_PARAM_SPEC_STRING (proc->args[i]))
if (G_IS_PARAM_SPEC_STRING (proc->args[i]))
g_value_set_static_string (&new_args->values[i], "");
return_vals = gimp_pdb_execute_procedure_by_name_args (gimp->pdb,
context, progress,
GIMP_OBJECT (proc)->name,
new_args);
return_vals =
gimp_pdb_execute_procedure_by_name_args (gimp->pdb,
context, progress,
GIMP_OBJECT (proc)->name,
new_args);
g_value_array_free (new_args);

View File

@ -443,9 +443,9 @@ xcf_save_image (XcfInfo *info,
}
static gboolean
xcf_save_image_props (XcfInfo *info,
GimpImage *image,
GError **error)
xcf_save_image_props (XcfInfo *info,
GimpImage *image,
GError **error)
{
GimpParasite *parasite = NULL;
GimpUnit unit = gimp_image_get_unit (image);
@ -514,10 +514,10 @@ xcf_save_image_props (XcfInfo *info,
}
static gboolean
xcf_save_layer_props (XcfInfo *info,
GimpImage *image,
GimpLayer *layer,
GError **error)
xcf_save_layer_props (XcfInfo *info,
GimpImage *image,
GimpLayer *layer,
GError **error)
{
GimpParasite *parasite = NULL;
@ -599,10 +599,10 @@ xcf_save_layer_props (XcfInfo *info,
}
static gboolean
xcf_save_channel_props (XcfInfo *info,
GimpImage *image,
GimpChannel *channel,
GError **error)
xcf_save_channel_props (XcfInfo *info,
GimpImage *image,
GimpChannel *channel,
GError **error)
{
guchar col[3];
@ -637,10 +637,10 @@ xcf_save_channel_props (XcfInfo *info,
}
static gboolean
xcf_save_prop (XcfInfo *info,
GimpImage *image,
PropType prop_type,
GError **error,
xcf_save_prop (XcfInfo *info,
GimpImage *image,
PropType prop_type,
GError **error,
...)
{
guint32 size;
@ -1127,10 +1127,10 @@ xcf_save_prop (XcfInfo *info,
}
static gboolean
xcf_save_layer (XcfInfo *info,
GimpImage *image,
GimpLayer *layer,
GError **error)
xcf_save_layer (XcfInfo *info,
GimpImage *image,
GimpLayer *layer,
GError **error)
{
guint32 saved_pos;
guint32 offset;
@ -1268,9 +1268,9 @@ xcf_calc_levels (gint size,
static gboolean
xcf_save_hierarchy (XcfInfo *info,
TileManager *tiles,
GError **error)
xcf_save_hierarchy (XcfInfo *info,
TileManager *tiles,
GError **error)
{
guint32 saved_pos;
guint32 offset;
@ -1347,9 +1347,9 @@ xcf_save_hierarchy (XcfInfo *info,
}
static gboolean
xcf_save_level (XcfInfo *info,
TileManager *level,
GError **error)
xcf_save_level (XcfInfo *info,
TileManager *level,
GError **error)
{
guint32 saved_pos;
guint32 offset;