[gimp/metadata-browser] app: gimp_template_get_image_type: return GimpImageBaseType not GimpImageType
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: gimp_template_get_image_type: return GimpImageBaseType not GimpImageType
- Date: Wed, 12 Sep 2012 23:49:25 +0000 (UTC)
commit b708d44a5989f322a6db3d9bfa479067ed025c3c
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]