[gimp/alxsa-image-simulation-intent-bpc] Updating pdb
- From: Alx Sa <sawyeralex src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/alxsa-image-simulation-intent-bpc] Updating pdb
- Date: Fri, 12 Aug 2022 11:23:33 +0000 (UTC)
commit 69704929832bf86efc8ff98f1f2fd9747de5f497
Author: Alx Sa <cmyk student gmail com>
Date: Fri Aug 12 11:23:32 2022 +0000
Updating pdb
libgimp/gimpimagecolorprofile.c | 42 -------------------------
libgimp/gimpimagecolorprofile.h | 6 ----
libgimp/gimpimagecolorprofile_pdb.c | 20 ++++++------
libgimp/gimpimagecolorprofile_pdb.h | 62 ++++++++++++++++++-------------------
pdb/groups/image_color_profile.pdb | 4 ---
5 files changed, 41 insertions(+), 93 deletions(-)
---
diff --git a/libgimp/gimpimagecolorprofile.c b/libgimp/gimpimagecolorprofile.c
index 4b529c6c0c..4c9f5b5140 100644
--- a/libgimp/gimpimagecolorprofile.c
+++ b/libgimp/gimpimagecolorprofile.c
@@ -161,48 +161,6 @@ gimp_image_set_simulation_profile (GimpImage *image,
return _gimp_image_set_simulation_profile (image, length, data);
}
-/**
- * gimp_image_set_simulation_intent:
- * @image: The image.
- * @intent: A #GimpColorRenderingIntent
- *
- * Sets the image's simulation rendering intent
- *
- * This procedure sets the image's simulation rendering intent.
- *
- * Since: 3.0
- **/
-gboolean
-gimp_image_set_simulation_intent (GimpImage *image,
- GimpColorRenderingIntent intent)
-{
- _gimp_image_set_simulation_intent (image, intent);
-
- return TRUE;
-}
-
-/**
- * gimp_image_set_simulation_bpc:
- * @image: The image.
- * @bpc: A gboolean
- *
- * Sets whether the image has Black Point Compensation enabled
- * for its simulation
- *
- * This procedure sets the image's Black Point Compensation enabled
- * status
- *
- * Since: 3.0
- **/
-gboolean
-gimp_image_set_simulation_bpc (GimpImage *image,
- gboolean bpc)
-{
- _gimp_image_set_simulation_bpc (image, bpc);
-
- return TRUE;
-}
-
/**
* gimp_image_get_effective_color_profile:
* @image: The image.
diff --git a/libgimp/gimpimagecolorprofile.h b/libgimp/gimpimagecolorprofile.h
index f8c77525e8..92e4e60123 100644
--- a/libgimp/gimpimagecolorprofile.h
+++ b/libgimp/gimpimagecolorprofile.h
@@ -38,12 +38,6 @@ GimpColorProfile * gimp_image_get_simulation_profile (GimpImage
gboolean gimp_image_set_simulation_profile (GimpImage *image,
GimpColorProfile *profile);
-gboolean gimp_image_set_simulation_intent (GimpImage *image,
- GimpColorRenderingIntent intent);
-
-gboolean gimp_image_set_simulation_bpc (GimpImage *image,
- gboolean bpc);
-
GimpColorProfile * gimp_image_get_effective_color_profile (GimpImage *image);
gboolean gimp_image_convert_color_profile (GimpImage *image,
diff --git a/libgimp/gimpimagecolorprofile_pdb.c b/libgimp/gimpimagecolorprofile_pdb.c
index c201c98b83..e11d320ed5 100644
--- a/libgimp/gimpimagecolorprofile_pdb.c
+++ b/libgimp/gimpimagecolorprofile_pdb.c
@@ -351,7 +351,7 @@ gimp_image_set_simulation_profile_from_file (GimpImage *image,
}
/**
- * _gimp_image_get_simulation_intent:
+ * gimp_image_get_simulation_intent:
* @image: The image.
*
* Returns the image's simulation rendering intent
@@ -363,7 +363,7 @@ gimp_image_set_simulation_profile_from_file (GimpImage *image,
* Since: 3.0
**/
GimpColorRenderingIntent
-_gimp_image_get_simulation_intent (GimpImage *image)
+gimp_image_get_simulation_intent (GimpImage *image)
{
GimpValueArray *args;
GimpValueArray *return_vals;
@@ -387,7 +387,7 @@ _gimp_image_get_simulation_intent (GimpImage *image)
}
/**
- * _gimp_image_set_simulation_intent:
+ * gimp_image_set_simulation_intent:
* @image: The image.
* @intent: A GimpColorRenderingIntent.
*
@@ -400,8 +400,8 @@ _gimp_image_get_simulation_intent (GimpImage *image)
* Since: 3.0
**/
gboolean
-_gimp_image_set_simulation_intent (GimpImage *image,
- GimpColorRenderingIntent intent)
+gimp_image_set_simulation_intent (GimpImage *image,
+ GimpColorRenderingIntent intent)
{
GimpValueArray *args;
GimpValueArray *return_vals;
@@ -425,7 +425,7 @@ _gimp_image_set_simulation_intent (GimpImage *image,
}
/**
- * _gimp_image_get_simulation_bpc:
+ * gimp_image_get_simulation_bpc:
* @image: The image.
*
* Returns whether the image has Black Point Compensation enabled for
@@ -439,7 +439,7 @@ _gimp_image_set_simulation_intent (GimpImage *image,
* Since: 3.0
**/
gboolean
-_gimp_image_get_simulation_bpc (GimpImage *image)
+gimp_image_get_simulation_bpc (GimpImage *image)
{
GimpValueArray *args;
GimpValueArray *return_vals;
@@ -463,7 +463,7 @@ _gimp_image_get_simulation_bpc (GimpImage *image)
}
/**
- * _gimp_image_set_simulation_bpc:
+ * gimp_image_set_simulation_bpc:
* @image: The image.
* @bpc: The Black Point Compensation status.
*
@@ -478,8 +478,8 @@ _gimp_image_get_simulation_bpc (GimpImage *image)
* Since: 3.0
**/
gboolean
-_gimp_image_set_simulation_bpc (GimpImage *image,
- gboolean bpc)
+gimp_image_set_simulation_bpc (GimpImage *image,
+ gboolean bpc)
{
GimpValueArray *args;
GimpValueArray *return_vals;
diff --git a/libgimp/gimpimagecolorprofile_pdb.h b/libgimp/gimpimagecolorprofile_pdb.h
index 834f78d500..469a5d8517 100644
--- a/libgimp/gimpimagecolorprofile_pdb.h
+++ b/libgimp/gimpimagecolorprofile_pdb.h
@@ -32,37 +32,37 @@ G_BEGIN_DECLS
/* For information look into the C source or the html documentation */
-G_GNUC_INTERNAL guint8* _gimp_image_get_color_profile (GimpImage
*image,
- gint
*num_bytes);
-G_GNUC_INTERNAL guint8* _gimp_image_get_effective_color_profile (GimpImage
*image,
- gint
*num_bytes);
-G_GNUC_INTERNAL gboolean _gimp_image_set_color_profile (GimpImage
*image,
- gint
num_bytes,
- const guint8
*color_profile);
-gboolean gimp_image_set_color_profile_from_file (GimpImage
*image,
- GFile
*file);
-G_GNUC_INTERNAL guint8* _gimp_image_get_simulation_profile (GimpImage
*image,
- gint
*num_bytes);
-G_GNUC_INTERNAL gboolean _gimp_image_set_simulation_profile (GimpImage
*image,
- gint
num_bytes,
- const guint8
*color_profile);
-gboolean gimp_image_set_simulation_profile_from_file (GimpImage
*image,
- GFile
*file);
-G_GNUC_INTERNAL GimpColorRenderingIntent _gimp_image_get_simulation_intent (GimpImage
*image);
-G_GNUC_INTERNAL gboolean _gimp_image_set_simulation_intent (GimpImage
*image,
-
GimpColorRenderingIntent intent);
-G_GNUC_INTERNAL gboolean _gimp_image_get_simulation_bpc (GimpImage
*image);
-G_GNUC_INTERNAL gboolean _gimp_image_set_simulation_bpc (GimpImage
*image,
- gboolean
bpc);
-G_GNUC_INTERNAL gboolean _gimp_image_convert_color_profile (GimpImage
*image,
- gint
num_bytes,
- const guint8
*color_profile,
-
GimpColorRenderingIntent intent,
- gboolean
bpc);
-gboolean gimp_image_convert_color_profile_from_file (GimpImage
*image,
- GFile
*file,
-
GimpColorRenderingIntent intent,
- gboolean
bpc);
+G_GNUC_INTERNAL guint8* _gimp_image_get_color_profile (GimpImage *image,
+ gint *num_bytes);
+G_GNUC_INTERNAL guint8* _gimp_image_get_effective_color_profile (GimpImage *image,
+ gint *num_bytes);
+G_GNUC_INTERNAL gboolean _gimp_image_set_color_profile (GimpImage *image,
+ gint num_bytes,
+ const guint8
*color_profile);
+gboolean gimp_image_set_color_profile_from_file (GimpImage *image,
+ GFile *file);
+G_GNUC_INTERNAL guint8* _gimp_image_get_simulation_profile (GimpImage *image,
+ gint *num_bytes);
+G_GNUC_INTERNAL gboolean _gimp_image_set_simulation_profile (GimpImage *image,
+ gint num_bytes,
+ const guint8
*color_profile);
+gboolean gimp_image_set_simulation_profile_from_file (GimpImage *image,
+ GFile *file);
+GimpColorRenderingIntent gimp_image_get_simulation_intent (GimpImage *image);
+gboolean gimp_image_set_simulation_intent (GimpImage *image,
+ GimpColorRenderingIntent intent);
+gboolean gimp_image_get_simulation_bpc (GimpImage *image);
+gboolean gimp_image_set_simulation_bpc (GimpImage *image,
+ gboolean bpc);
+G_GNUC_INTERNAL gboolean _gimp_image_convert_color_profile (GimpImage *image,
+ gint num_bytes,
+ const guint8
*color_profile,
+ GimpColorRenderingIntent intent,
+ gboolean bpc);
+gboolean gimp_image_convert_color_profile_from_file (GimpImage *image,
+ GFile *file,
+ GimpColorRenderingIntent intent,
+ gboolean bpc);
G_END_DECLS
diff --git a/pdb/groups/image_color_profile.pdb b/pdb/groups/image_color_profile.pdb
index 0c76390826..37304ee904 100644
--- a/pdb/groups/image_color_profile.pdb
+++ b/pdb/groups/image_color_profile.pdb
@@ -393,8 +393,6 @@ HELP
&alxsa_pdb_misc('2022', '3.0');
- $lib_private = 1;
-
@inargs = (
{ name => 'image', type => 'image',
desc => 'The image' },
@@ -448,8 +446,6 @@ HELP
&alxsa_pdb_misc('2022', '3.0');
- $lib_private = 1;
-
@inargs = (
{ name => 'image', type => 'image',
desc => 'The image' },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]