gimp r27688 - in trunk: . app/core
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27688 - in trunk: . app/core
- Date: Wed, 19 Nov 2008 23:34:43 +0000 (UTC)
Author: mitch
Date: Wed Nov 19 23:34:43 2008
New Revision: 27688
URL: http://svn.gnome.org/viewvc/gimp?rev=27688&view=rev
Log:
2008-11-20 Michael Natterer <mitch gimp org>
* app/core/gimpimage-quick-mask.c (gimp_image_get_quick_mask_state):
image->quick_mask_state is a boolean, return it directly instead
of "state != NULL".
Modified:
trunk/ChangeLog
trunk/app/core/gimpimage-quick-mask.c
Modified: trunk/app/core/gimpimage-quick-mask.c
==============================================================================
--- trunk/app/core/gimpimage-quick-mask.c (original)
+++ trunk/app/core/gimpimage-quick-mask.c Wed Nov 19 23:34:43 2008
@@ -155,7 +155,7 @@
{
g_return_val_if_fail (GIMP_IS_IMAGE (image), FALSE);
- return (image->quick_mask_state != 0);
+ return image->quick_mask_state;
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]