mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
updated use g_snprintf
2007-06-15 Hans Breuer <hans@breuer.org> * makefile.msc : updated * io-jpeg.c : use g_snprintf svn path=/trunk/; revision=18139
This commit is contained in:
parent
944748746a
commit
b2dea46b69
@ -1,3 +1,8 @@
|
||||
2007-06-15 Hans Breuer <hans@breuer.org>
|
||||
|
||||
* makefile.msc : updated
|
||||
* io-jpeg.c : use g_snprintf
|
||||
|
||||
2007-06-12 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* io-pnm.c (explode_bitmap_into_buf): Fix out-of-bound access.
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user