From b2dea46b691e4e4d990e36ba4a71d0dcabb86890 Mon Sep 17 00:00:00 2001 From: Hans Breuer Date: Fri, 15 Jun 2007 15:18:48 +0000 Subject: updated use g_snprintf 2007-06-15 Hans Breuer * makefile.msc : updated * io-jpeg.c : use g_snprintf svn path=/trunk/; revision=18139 --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/io-jpeg.c | 4 ++-- gdk-pixbuf/makefile.msc | 3 ++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 730a53379d..1ab9170c4b 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2007-06-15 Hans Breuer + + * makefile.msc : updated + * io-jpeg.c : use g_snprintf + 2007-06-12 Behdad Esfahbod * io-pnm.c (explode_bitmap_into_buf): Fix out-of-bound access. diff --git a/gdk-pixbuf/io-jpeg.c b/gdk-pixbuf/io-jpeg.c index b88675c98f..67327162bd 100644 --- a/gdk-pixbuf/io-jpeg.c +++ b/gdk-pixbuf/io-jpeg.c @@ -514,7 +514,7 @@ gdk_pixbuf__jpeg_image_load (FILE *f, GError **error) /* if orientation tag was found set an option to remember its value */ if (is_otag) { - snprintf (otag_str, sizeof (otag_str), "%d", is_otag); + g_snprintf (otag_str, sizeof (otag_str), "%d", is_otag); gdk_pixbuf_set_option (pixbuf, "orientation", otag_str); } @@ -923,7 +923,7 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data, /* if orientation tag was found set an option to remember its value */ if (is_otag) { - snprintf (otag_str, sizeof (otag_str), "%d", is_otag); + g_snprintf (otag_str, sizeof (otag_str), "%d", is_otag); gdk_pixbuf_set_option (context->pixbuf, "orientation", otag_str); } diff --git a/gdk-pixbuf/makefile.msc b/gdk-pixbuf/makefile.msc index e8dcefc30b..668b44d88e 100644 --- a/gdk-pixbuf/makefile.msc +++ b/gdk-pixbuf/makefile.msc @@ -42,6 +42,7 @@ OBJECTS = \ gdk-pixbuf-io.obj \ gdk-pixbuf-loader.obj \ gdk-pixbuf-scale.obj \ + gdk-pixbuf-scaled-anim.obj \ gdk-pixbuf-util.obj \ gdk-pixbuf.obj \ gdk-pixbuf-simple-anim.obj \ @@ -76,7 +77,7 @@ gdk-pixbuf-alias.h: gdk-pixbuf.symbols gdk_pixbuf.def: gdk-pixbuf.symbols makefile.msc echo EXPORTS > gdk_pixbuf.def cl /EP -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES \ -# -FI $(GLIB)\glib\gmacros.h \ + -DG_GNUC_MALLOC= -DG_GNUC_CONST= -DG_GNUC_NULL_TERMINATED= -DG_GNUC_NORETURN= -DG_GNUC_PRINTF=;G_GNUC_PRINTF \ gdk-pixbuf.symbols >> gdk_pixbuf.def gdk-pixbuf-aliasdef.c: gdk-pixbuf.symbols -- cgit v1.2.1