summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-jpeg.c
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@redhat.com>1999-10-18 19:29:45 +0000
committerArturo Espinosa <unammx@src.gnome.org>1999-10-18 19:29:45 +0000
commit74268afdeb2e1b80af741eb6933f5a5bc3bf5ab5 (patch)
tree13993ce97068d1fe0748c277343e553e43150b24 /gdk-pixbuf/io-jpeg.c
parent3b9835b5bb6b9ccfbfbb357312d41f267c1ac0bb (diff)
downloadgtk+-74268afdeb2e1b80af741eb6933f5a5bc3bf5ab5.tar.gz
Reindented to use the GNOME Indentation.
1999-10-18 Federico Mena Quintero <federico@redhat.com> * src/*: Reindented to use the GNOME Indentation.
Diffstat (limited to 'gdk-pixbuf/io-jpeg.c')
-rw-r--r--gdk-pixbuf/io-jpeg.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c
index aa9fa775f1..448e8c4fd1 100644
--- a/gdk-pixbuf/io-jpeg.c
+++ b/gdk-pixbuf/io-jpeg.c
@@ -1,5 +1,5 @@
/*
- io-jpeg.c: GdkPixBuf loader for jpeg files.
+ io-jpeg.c: GdkPixbuf loader for jpeg files.
Based on io-jpeg from gdk_imlib, but not much.
@@ -19,10 +19,9 @@
#include <jpeglib.h>
/* error handler data */
-struct iojpeg_JPEG_error_mgr
-{
+struct iojpeg_JPEG_error_mgr {
struct jpeg_error_mgr pub;
- sigjmp_buf setjmp_buffer;
+ sigjmp_buf setjmp_buffer;
};
static void
@@ -39,17 +38,18 @@ g_JPEGFatalErrorHandler(j_common_ptr cinfo)
return;
}
-GdkPixBuf *image_load(FILE *f)
+GdkPixbuf *
+image_load(FILE *f)
{
int w,h,i,j;
art_u8 *pixels=NULL, *dptr;
unsigned char *lines[4], /* Used to expand rows, via rec_outbuf_height, from
- the header file:
- "* Usually rec_outbuf_height will be 1 or 2, at most 4." */
+ the header file:
+ "* Usually rec_outbuf_height will be 1 or 2, at most 4." */
**lptr;
struct jpeg_decompress_struct cinfo;
struct iojpeg_JPEG_error_mgr jerr;
- GdkPixBuf *pixbuf;
+ GdkPixbuf *pixbuf;
/* setup error handler */
cinfo.err = jpeg_std_error(&(jerr.pub));