[gimp/goat-invasion: 488/526] app: gimp_template_get_image_type: return GimpImageBaseType not GimpImageType
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 488/526] app: gimp_template_get_image_type: return GimpImageBaseType not GimpImageType
- Date: Sun, 22 Apr 2012 13:40:17 +0000 (UTC)
commit dbb813550ac4b25abc2dd11d9e96122af2b3c7dd
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]