[gimp] app: s/gimp_babl_get_description/gimp_babl_format_get_description/
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: s/gimp_babl_get_description/gimp_babl_format_get_description/
- Date: Fri, 15 Apr 2016 18:19:32 +0000 (UTC)
commit 5f8b6ce8da14e742dd1d3cc0054e3e5bef21257b
Author: Michael Natterer <mitch gimp org>
Date: Fri Apr 15 19:17:26 2016 +0100
app: s/gimp_babl_get_description/gimp_babl_format_get_description/
app/core/gimpimagefile.c | 4 ++--
app/display/gimpdisplayshell-title.c | 2 +-
app/gegl/gimp-babl.c | 2 +-
app/gegl/gimp-babl.h | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/app/core/gimpimagefile.c b/app/core/gimpimagefile.c
index 4e4d6da..e58fb12 100644
--- a/app/core/gimpimagefile.c
+++ b/app/core/gimpimagefile.c
@@ -1062,7 +1062,7 @@ gimp_thumbnail_set_info_from_image (GimpThumbnail *thumbnail,
"image-mimetype", mime_type,
"image-width", gimp_image_get_width (image),
"image-height", gimp_image_get_height (image),
- "image-type", gimp_babl_get_description (format),
+ "image-type", gimp_babl_format_get_description (format),
"image-num-layers", gimp_image_get_n_layers (image),
NULL);
}
@@ -1098,7 +1098,7 @@ gimp_thumbnail_set_info (GimpThumbnail *thumbnail,
if (format)
g_object_set (thumbnail,
- "image-type", gimp_babl_get_description (format),
+ "image-type", gimp_babl_format_get_description (format),
NULL);
if (num_layers != -1)
diff --git a/app/display/gimpdisplayshell-title.c b/app/display/gimpdisplayshell-title.c
index 6073a93..aed2e15 100644
--- a/app/display/gimpdisplayshell-title.c
+++ b/app/display/gimpdisplayshell-title.c
@@ -239,7 +239,7 @@ gimp_display_shell_format_title (GimpDisplayShell *shell,
const Babl *format = gimp_drawable_get_format (drawable);
i += print (title, title_len, i, "%s",
- gimp_babl_get_description (format));
+ gimp_babl_format_get_description (format));
}
break;
diff --git a/app/gegl/gimp-babl.c b/app/gegl/gimp-babl.c
index c5f97dd..5fa4f10 100644
--- a/app/gegl/gimp-babl.c
+++ b/app/gegl/gimp-babl.c
@@ -358,7 +358,7 @@ babl_descriptions[] =
static GHashTable *babl_description_hash = NULL;
const gchar *
-gimp_babl_get_description (const Babl *babl)
+gimp_babl_format_get_description (const Babl *babl)
{
const gchar *description;
diff --git a/app/gegl/gimp-babl.h b/app/gegl/gimp-babl.h
index 6244848..1da4235 100644
--- a/app/gegl/gimp-babl.h
+++ b/app/gegl/gimp-babl.h
@@ -24,7 +24,7 @@
void gimp_babl_init (void);
-const gchar * gimp_babl_get_description (const Babl *format);
+const gchar * gimp_babl_format_get_description (const Babl *format);
GimpImageBaseType gimp_babl_format_get_base_type (const Babl *format);
GimpComponentType gimp_babl_format_get_component_type (const Babl *format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]