[gimp/goat-invasion] app: gimp_template_get_image_type: return GimpImageBaseType not GimpImageType



commit 1d523f845d7638d6441943d7612dedecb43e7ef5
Author: Michael Natterer <mitch gimp org>
Date:   Wed Apr 11 18:55:29 2012 +0200

    app: gimp_template_get_image_type: return GimpImageBaseType not GimpImageType

 app/core/gimptemplate.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimptemplate.c b/app/core/gimptemplate.c
index 69208c3..fe902ef 100644
--- a/app/core/gimptemplate.c
+++ b/app/core/gimptemplate.c
@@ -425,7 +425,7 @@ gimp_template_get_resolution_unit (GimpTemplate *template)
 GimpImageBaseType
 gimp_template_get_image_type (GimpTemplate *template)
 {
-  g_return_val_if_fail (GIMP_IS_TEMPLATE (template), GIMP_RGB_IMAGE);
+  g_return_val_if_fail (GIMP_IS_TEMPLATE (template), GIMP_RGB);
 
   return GET_PRIVATE (template)->image_type;
 }



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