summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-png.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>1999-07-31 17:20:49 +0000
committerDaniel Veillard <veillard@src.gnome.org>1999-07-31 17:20:49 +0000
commit91cb3bb665cebc5548c571fb4a0b2fbffa164d88 (patch)
tree21ef280dc22596e0e08021558f3c843a5e5a5410 /gdk-pixbuf/io-png.c
parent0899b4718ba6f9a3ba9decc966a7714f185c2baf (diff)
downloadgdk-pixbuf-91cb3bb665cebc5548c571fb4a0b2fbffa164d88.tar.gz
Fixed 2 C syntax bugs, Daniel
Diffstat (limited to 'gdk-pixbuf/io-png.c')
-rw-r--r--gdk-pixbuf/io-png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf/io-png.c b/gdk-pixbuf/io-png.c
index ed5bfca50..514b13c8e 100644
--- a/gdk-pixbuf/io-png.c
+++ b/gdk-pixbuf/io-png.c
@@ -174,7 +174,7 @@ int image_save(GdkPixBuf *pixbuf, FILE *file)
png_color_8 sig_bit;
gint type;
- g_return_val_if_fail(f != NULL, NULL);
+ g_return_val_if_fail(file != NULL, NULL);
g_return_val_if_fail(pixbuf != NULL, NULL);
h = pixbuf->art_pixbuf->height;