GTK is a multi-platform toolkit for creating graphical user interfaces.
Go to file
Federico Mena Quintero 6e3522ab2c Added reference counting to animations. A web browser may want to share a
2000-01-01  Federico Mena Quintero  <federico@helixcode.com>

	* gdk-pixbuf/gdk-pixbuf.h (GdkPixbufAnimation): Added reference
	counting to animations.  A web browser may want to share a single
	copy of an animated GIF if it appears multiple times in a web
	page, for example.

	* gdk-pixbuf/gdk-pixbuf-animation.c: New file.  Moved the
	animation functions here.
	(gdk_pixbuf_animation_new_from_file): Prettified.  Return a NULL
	animation if the loader does not support multiframe loading and
	the single-frame load returned NULL.  Check that the filename is
	not NULL.  Updated inline documentation.
	(gdk_pixbuf_animation_ref): New function.
	(gdk_pixbuf_animation_unref): New function.
	Removed gdk_pixbuf_animation_destroy() in favor of reference
	counting.

	* gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
	Prettified.  Made ref_count assertion more paranoid.  Check that
	the filename is not NULL.
	(gdk_pixbuf_get_module): Use guchar * and guint for buffer and
	size, respectively.
	(gdk_pixbuf_new_from_xpm_data): Changed the "data" argument to
	const char **.

	* gdk-pixbuf/io-gif.c (image_load_animation): Create the animation
	with a reference count of 1.

	* gdk-pixbuf/Makefile.am (libgdk_pixbuf_la_SOURCES): Added
	gdk-pixbuf-animation.c.

	* doc/tmpl/animation.sgml: Populated.  It is still missing a
	description of the overlay modes.

	* doc/gdk-pixbuf-sections.txt: Added the animation section.  Moved
	the canvas item section to the end, as it will be moved later to
	gnome-libs.

	* doc/gdk-pixbuf.sgml: Added the animation section.

	* doc/Makefile.am (tmpl_sources): Added tmpl/animation.sgml.
2000-01-02 03:59:22 +00:00
debian Argh. Missed one dumb space in rules file. Fixed. 1998-11-18 06:25:35 +00:00
demos forgot this 1999-12-17 21:43:04 +00:00
docs Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
examples Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
gdk Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
gdk-pixbuf Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
gtk Added reference counting to animations. A web browser may want to share a 2000-01-02 03:59:22 +00:00
po Added the Turkish translation . 1999-12-23 14:49:16 +00:00
tests Must mark also gdk_error_warnings and gdk_error_code as GDKVAR, as they 1999-12-11 23:04:55 +00:00
.cvsignore upgrade to libtool 1.3.2 (BeOS changes merged) 1999-06-02 18:45:22 +00:00
acconfig.h acinclude.m4 config.guess config.sub ltconfig upgrade to libtool 1.2f 1999-03-20 00:52:36 +00:00
acinclude.m4 [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
AUTHORS Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
autogen.sh [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
ChangeLog gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-1-0 ChangeLog split up into ChangeLog.pre-1-0 and ChangeLog. 1998-04-17 01:07:36 +00:00
ChangeLog.pre-1-2 moved old ChangeLog to ChangeLog.pre-1-2, and started new one. 1999-02-27 00:26:30 +00:00
ChangeLog.pre-2-0 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-2 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-4 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-6 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-8 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
ChangeLog.pre-2-10 gdk/win32/gdkprivate-win32.h gdk/win32/gdkevents-win32.c 1999-12-30 00:07:48 +00:00
config.guess upgrade to libtool 1.3.2 (BeOS changes merged) 1999-06-02 18:45:22 +00:00
config.h.win32 Don't define HAVE_DIMM_H if MSC, as you have to get the Platform SDK to 1999-11-04 23:42:51 +00:00
config.sub upgrade to libtool 1.3.2 (BeOS changes merged) 1999-06-02 18:45:22 +00:00
configure.in Added tr to ALL_LINGUAS 1999-12-02 23:11:06 +00:00
COPYING Changed LGPL address for FSF in all .h and .c files 1998-04-13 02:02:47 +00:00
gtk-config.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
gtk.m4 Fix glib_config_args gtk_config_args confusion. (pointed out by Roland 1999-02-18 16:43:42 +00:00
gtk+.spec.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
HACKING - GNU autoconf 2.13 - GNU automake 1.4 (Beta releases are at 1999-01-17 16:54:58 +00:00
INSTALL [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
INSTALL.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
ltconfig [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
ltmain.sh [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
makecopyright Changed LGPL address for FSF in all .h and .c files 1998-04-13 02:02:47 +00:00
Makefile.am Distribute README.win32. 1999-12-11 23:18:12 +00:00
NEWS Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
NEWS.pre-1-0 ooops, fogot this on my last commit... 1998-05-07 07:45:04 +00:00
README Incremented version to 1.2.0. -Shawn <amundson@gtk.org> 1999-02-25 21:39:14 +00:00
README.cvs-commits Fixed argument list and return type for non-XIM fallback. 1998-12-09 18:13:52 +00:00
README.in Adapt cast macros to standard. 1999-11-22 21:52:50 +00:00
README.win32 Distribute README.win32. 1999-12-11 23:18:12 +00:00
sanity_check [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00
TODO [ Merges from gtk-1-2 ] 1999-09-28 20:19:13 +00:00

General Information
===================

This is GTK+ version 1.2.0.   GTK+, which stands for the Gimp ToolKit, 
is a library for creating graphical user interfaces for the X Window 
System. It is designed to be small, efficient, and flexible. GTK+ is 
written in C with a very object-oriented approach.

The official ftp site is:
  ftp://ftp.gtk.org/pub/gtk

The official web site is:
  http://www.gtk.org/

A mailing list is located at:
  gtk-list@redhat.com

To subscribe: mail -s subscribe gtk-list-request@redhat.com < /dev/null
(Send mail to gtk-list-request@redhat.com with the subject "subscribe")

Installation
============

See the file 'INSTALL'

How to report bugs
==================

Bugs should be reported to the GNOME bug tracking
system. (http://bugs.gnome.org). To report a problem
about GTK+, send mail to submit@bugs.gnome.org.

The subject of the mail should describe your problem.
In the body of the mail, you should first include
a "pseudo-header" that gives the package and 
version number. This should be separated by a blank
line from the actual headers.

 Package: gtk+
 Version: 1.2.0

[ Please substitute 1.2.0 with the version of GTK+ that
  you have installed ]

Then describe the bug. Include:

* Information about your system. For instance:

   - What operating system and version
   - What version of X
   - For Linux, what version of the C library

  And anything else you think is relevant.

* How to reproduce the bug. 

  If you can reproduce it with the testgtk program that is built 
  in the gtk/ subdirectory, that will be most convenient.  Otherwise, 
  please include a short test program that exhibits the behavior. 
  As a last resort, you can also provide a pointer to a larger piece 
  of software that can be downloaded.

  (Bugs that can be reproduced within the  GIMP are almost as good 
  as bugs that can be reproduced in testgtk. If you are reporting a 
  bug found with the GIMP, please include the version number of the GIMP 
  you are using)

* If the bug was a crash, the exact text that was printed out
  when the crash occured.

* Further information such as stack traces may be useful, but
  is not necessary. If you do send a stack trace, and the error
  is an X error, it will be more useful if the stacktrace
  is produced running the test program with the --sync command
  line option.

An example of a bug report:

====
To: submit@bugs.gnome.org
From: yourname@your.address.org
Subject: handlebox test in testgtk is misnamed.

Package: gtk+
Version: 1.2.0

When I run gtk/testgtk, the button "handle box"
is misnamed. There are multiple handle boxes in
the demo, so it should be "handle boxes", to
be like "buttons" or "check buttons".
===

Patches
=======

Patches can be uploaded to the incoming/ directory on
ftp.gtk.org.  Please follow the instructions there, and include
your name and email address in the README file.

If the patch fixes a bug, it is usually a good idea to include
all the information described in "How to Report Bugs".