Reindent
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */
|
||||
/* GdkPixbuf library - Progressive loader object
|
||||
*
|
||||
* Copyright (C) 1999 The Free Software Foundation
|
||||
@ -209,7 +210,8 @@ gdk_pixbuf_loader_set_size (GdkPixbufLoader *loader,
|
||||
GdkPixbufLoaderPrivate *priv = GDK_PIXBUF_LOADER (loader)->priv;
|
||||
g_return_if_fail (width > 0 && height > 0);
|
||||
|
||||
if (!priv->size_fixed) {
|
||||
if (!priv->size_fixed)
|
||||
{
|
||||
priv->width = width;
|
||||
priv->height = height;
|
||||
}
|
||||
@ -221,7 +223,8 @@ gdk_pixbuf_loader_size_func (gint *width, gint *height, gpointer loader)
|
||||
GdkPixbufLoaderPrivate *priv = GDK_PIXBUF_LOADER (loader)->priv;
|
||||
|
||||
/* allow calling gdk_pixbuf_loader_set_size() before the signal */
|
||||
if (priv->width == 0 && priv->height == 0) {
|
||||
if (priv->width == 0 && priv->height == 0)
|
||||
{
|
||||
priv->width = *width;
|
||||
priv->height = *height;
|
||||
}
|
||||
@ -241,7 +244,8 @@ gdk_pixbuf_loader_prepare (GdkPixbuf *pixbuf,
|
||||
GdkPixbufLoaderPrivate *priv = GDK_PIXBUF_LOADER (loader)->priv;
|
||||
g_return_if_fail (pixbuf != NULL);
|
||||
|
||||
if (!priv->size_fixed) {
|
||||
if (!priv->size_fixed)
|
||||
{
|
||||
/* Defend against lazy loaders which don't call size_func */
|
||||
gint width = gdk_pixbuf_get_width (pixbuf);
|
||||
gint height = gdk_pixbuf_get_height (pixbuf);
|
||||
@ -614,14 +618,16 @@ gdk_pixbuf_loader_close (GdkPixbufLoader *loader,
|
||||
}
|
||||
}
|
||||
|
||||
if (priv->image_module && priv->image_module->stop_load && priv->context) {
|
||||
if (priv->image_module && priv->image_module->stop_load && priv->context)
|
||||
{
|
||||
if (!priv->image_module->stop_load (priv->context, error))
|
||||
retval = FALSE;
|
||||
}
|
||||
|
||||
priv->closed = TRUE;
|
||||
|
||||
if (priv->needs_scale) {
|
||||
if (priv->needs_scale)
|
||||
{
|
||||
GdkPixbuf *tmp, *pixbuf;
|
||||
|
||||
tmp = gdk_pixbuf_animation_get_static_image (priv->animation);
|
||||
|
||||
Reference in New Issue
Block a user