mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
plug-ins/common/tiff-load.c indentation changes.
2007-04-25 Mukund Sivaraman <muks@mukund.org> * plug-ins/common/tiff-load.c * plug-ins/common/tiff-save.c: indentation changes. svn path=/trunk/; revision=22326
This commit is contained in:
parent
051b3d6dfe
commit
a484bf8aea
|
@ -1,3 +1,8 @@
|
||||||
|
2007-04-25 Mukund Sivaraman <muks@mukund.org>
|
||||||
|
|
||||||
|
* plug-ins/common/tiff-load.c
|
||||||
|
* plug-ins/common/tiff-save.c: indentation changes.
|
||||||
|
|
||||||
2007-04-25 Mukund Sivaraman <muks@mukund.org>
|
2007-04-25 Mukund Sivaraman <muks@mukund.org>
|
||||||
|
|
||||||
* plug-ins/common/tiff-load.c
|
* plug-ins/common/tiff-load.c
|
||||||
|
|
|
@ -90,7 +90,10 @@ static void run (const gchar *name,
|
||||||
gint *nreturn_vals,
|
gint *nreturn_vals,
|
||||||
GimpParam **return_vals);
|
GimpParam **return_vals);
|
||||||
|
|
||||||
static gint32 load_image (const gchar *filename,
|
static gboolean load_dialog (const gchar *filename,
|
||||||
|
TiffSelectedPages *pages);
|
||||||
|
|
||||||
|
static gint32 load_image (const gchar *filename,
|
||||||
TiffSelectedPages *pages);
|
TiffSelectedPages *pages);
|
||||||
|
|
||||||
static void load_rgba (TIFF *tif,
|
static void load_rgba (TIFF *tif,
|
||||||
|
@ -171,9 +174,6 @@ static void tiff_error (const gchar *module,
|
||||||
const gchar *fmt,
|
const gchar *fmt,
|
||||||
va_list ap);
|
va_list ap);
|
||||||
|
|
||||||
static gboolean load_dialog (const gchar *filename,
|
|
||||||
TiffSelectedPages *pages);
|
|
||||||
|
|
||||||
const GimpPlugInInfo PLUG_IN_INFO =
|
const GimpPlugInInfo PLUG_IN_INFO =
|
||||||
{
|
{
|
||||||
NULL, /* init_proc */
|
NULL, /* init_proc */
|
||||||
|
@ -189,9 +189,8 @@ static TiffSaveVals tsvals =
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
static GimpRunMode run_mode = GIMP_RUN_INTERACTIVE;
|
static GimpRunMode run_mode = GIMP_RUN_INTERACTIVE;
|
||||||
static GimpPageSelectorTarget
|
static GimpPageSelectorTarget target = GIMP_PAGE_SELECTOR_TARGET_LAYERS;
|
||||||
target = GIMP_PAGE_SELECTOR_TARGET_LAYERS;
|
|
||||||
|
|
||||||
static guchar bit2byte[256 * 8];
|
static guchar bit2byte[256 * 8];
|
||||||
|
|
||||||
|
@ -331,7 +330,8 @@ tiff_error (const gchar *module,
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
load_dialog (const gchar *filename, TiffSelectedPages *pages)
|
load_dialog (const gchar *filename,
|
||||||
|
TiffSelectedPages *pages)
|
||||||
{
|
{
|
||||||
GtkWidget *dialog;
|
GtkWidget *dialog;
|
||||||
GtkWidget *vbox;
|
GtkWidget *vbox;
|
||||||
|
|
|
@ -214,8 +214,8 @@ run (const gchar *name,
|
||||||
TIFFSetWarningHandler (tiff_warning);
|
TIFFSetWarningHandler (tiff_warning);
|
||||||
TIFFSetErrorHandler (tiff_error);
|
TIFFSetErrorHandler (tiff_error);
|
||||||
|
|
||||||
if (strcmp (name, SAVE_PROC) == 0 ||
|
if ((strcmp (name, SAVE_PROC) == 0) ||
|
||||||
strcmp (name, SAVE2_PROC) == 0)
|
(strcmp (name, SAVE2_PROC) == 0))
|
||||||
{
|
{
|
||||||
/* Plug-in is either file_tiff_save or file_tiff_save2 */
|
/* Plug-in is either file_tiff_save or file_tiff_save2 */
|
||||||
image = orig_image = param[1].data.d_int32;
|
image = orig_image = param[1].data.d_int32;
|
||||||
|
|
Loading…
Reference in a new issue