gimp r22153 - in trunk: . app/display app/widgets



Author: mitch
Date: 2007-03-20 19:03:34 +0000 (Tue, 20 Mar 2007)
New Revision: 22153
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=22153&view=rev

Modified:
   trunk/ChangeLog
   trunk/app/display/gimpdisplayshell-cursor.c
   trunk/app/display/gimpstatusbar.c
   trunk/app/display/gimpstatusbar.h
   trunk/app/widgets/gimpcolorframe.c
   trunk/app/widgets/gimpcursorview.c
   trunk/app/widgets/gimpcursorview.h
Log:
2007-03-20  Michael Natterer  <mitch gimp org>

	* app/widgets/gimpcursorview.[ch] (gimp_color_frame_update_cursor):
	disallow passing a NULL image.

	(gimp_color_frame_clear_cursor): new function that clears the
	cursor view.

	* app/widgets/gimpcolorframe.c (gimp_color_frame_update): if
	color_frame->sample_valid is FALSE, don't do any color
	transformations and don't construct any string because none
	of them is going to be used (all labels will show "n/a").

	* app/display/gimpstatusbar.[ch]: renamed set_cursor() API
	to update_cursor().

	* app/display/gimpdisplayshell-cursor.c
	(gimp_display_shell_update_cursor): move variables to local
	scopes. Follow GimpStatusbar API change. Cleanup.

	(gimp_display_shell_clear_cursor): ditto. Follow GimpColorFrame
	API change.






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