gimp r24362 - in trunk: . app/actions app/core app/pdb tools/pdbgen/pdb



Author: mitch
Date: 2007-12-14 13:58:10 +0000 (Fri, 14 Dec 2007)
New Revision: 24362
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=24362&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/actions/edit-commands.c
   trunk/app/core/gimp-edit.c
   trunk/app/core/gimp-edit.h
   trunk/app/pdb/edit_cmds.c
   trunk/tools/pdbgen/pdb/edit.pdb
Log:
2007-12-14  Michael Natterer  <mitch gimp org>

	* app/core/gimp-edit.[ch]: added GErrors when functions can fail.

	* app/actions/edit-commands.c: handle the returned errors.

	* tools/pdbgen/pdb/edit.pdb: same here (*don't* pass the error as
	usual since these functions never fail but have a boolean return
	value indicating success instead; ugly, but better than having the
	gimp_message() calls in the core). Also changed the named buffer
	cut and copy functions to do the same (never fail but return a
	NULL buffer name on failure), so they behave as documented.

	* app/pdb/edit_cmds.c: regenerated.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]