gtk/gdk-pixbuf
Federico Mena Quintero 37ac7d593e Your eyes are bloodshot.
Your eyes are bloodshot.

Your mouth starts to foam.

Your hands are shaking.

You know your need your fix.

NEED MORE ABSTRACTION!

2000-04-12  Federico Mena Quintero  <federico@helixcode.com>

	This comes from an excellent idea by Tim Janik (timj@gtk.org) to
	hook to the last unref operation.

	* gdk-pixbuf/gdk-pixbuf.c (gdk_pixbuf_set_last_unref_handler): New
	function to set the last unref handler for a pixbuf.
	(gdk_pixbuf_finalize): New function to actually finalize a pixbuf.
	It calls the pixbuf's destroy notification function and frees the
	GdkPixbuf structure itself.
	(gdk_pixbuf_unref): Use the last unref function of the pixbuf if
	available.

	* gdk-pixbuf/gdk-pixbuf-private.h (struct _GdkPixbuf): New fields
	for the last unref handler and its user data.

	* gdk-pixbuf/gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Use
	g_new0() to allocate the pixbuf.

	* gdk-pixbuf/gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init):
	Fixed the call to gtk_signal_new() for the "frame_done" signal; it
	was not specifying the `frame' argument.

	* gdk-pixbuf/gdk-pixbuf-animation.c
	(gdk_pixbuf_animation_get_width): Fixed docstring.
	(gdk_pixbuf_animation_get_height): Likewise.
	(gdk_pixbuf_animation_get_num_frames): Likewise.
	(gdk_pixbuf_animation_get_frames): Likewise.

	* doc/gdk-pixbuf-sections.txt: Updated with the new functions and
	types.

	* doc/tmpl/gdk-pixbuf.sgml: Added the description for GdkColorspace.

	* doc/tmpl/scaling.sgml: Added the description for GdkInterpType.

	* doc/tmpl/refcounting.sgml: Updated with the information about
	the last unref handler.

	* doc/tmpl/*.sgml: Markup tweaks.

	* gdk-pixbuf/Makefile.am (libgnomecanvaspixbuf_la_LDFLAGS): Sigh,
	update the libtool version number for libgnomecanvaspixbuf as
	well.
	(libpixbufloader_*_la_LDFLAGS): The loaders need to be versioned
	as well, or the old ones won't work with the new stuff.  Also,
	renamed the modules as follows.

	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_load_module): Now the
	modules are called "libpixbufloader-<format>.so" instead of
	"libpixbuf-<format>.so".  They needed renaming so that the new
	loaders won't overwrite the old ones; even with the versioning
	stuff, the new .so symlink to the .so.1.0.0 would overwrite the
	old real .so file.
2000-04-13 01:18:41 +00:00
..
pixops Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
.cvsignore Remove now-unnecessary cast. 2000-02-14 20:51:51 +00:00
ChangeLog Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gdk-pixbuf-animation.c Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gdk-pixbuf-data.c Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gdk-pixbuf-features.h.in No more libart/gdk-pixbuf as part of gnome-libs 2000-01-10 19:17:42 +00:00
gdk-pixbuf-io.c Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gdk-pixbuf-io.h Added progressive animation loading. Added progressive animation loading. 2000-01-07 18:29:13 +00:00
gdk-pixbuf-loader.c Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gdk-pixbuf-loader.h Added progressive animation loading. Added progressive animation loading. 2000-01-07 18:29:13 +00:00
gdk-pixbuf-private.h Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gdk-pixbuf-scale.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
gdk-pixbuf-util.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
gdk-pixbuf-xform.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
gdk-pixbuf.c Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gdk-pixbuf.h Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
gnome-canvas-pixbuf.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
gnome-canvas-pixbuf.h Comment fixes - Federico 1999-10-22 16:19:59 +00:00
io-bmp.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-gif.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-ico.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-jpeg.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-png.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-pnm.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-ras.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-tiff.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
io-xpm.c Most of this patch is based on a patch by Havoc Pennington (hp@redhat.com) 2000-04-11 07:03:25 +00:00
Makefile.am Your eyes are bloodshot. 2000-04-13 01:18:41 +00:00
test-gdk-pixbuf.c Start of the new test program - Federico 1999-12-02 23:57:25 +00:00