[gimp] pdb, app, libgimp: rename the "convert" PDB group to "imageconvert"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] pdb, app, libgimp: rename the "convert" PDB group to "imageconvert"
- Date: Sat, 30 May 2015 13:10:38 +0000 (UTC)
commit b34ed029ac640b0b5fd1552d04712ad5278d3a80
Author: Michael Natterer <mitch gimp org>
Date: Sat May 30 15:09:57 2015 +0200
pdb, app, libgimp: rename the "convert" PDB group to "imageconvert"
This only renames files, no code changes.
app/pdb/Makefile.am | 2 +-
app/pdb/{convert-cmds.c => image-convert-cmds.c} | 2 +-
app/pdb/internal-procs.c | 2 +-
app/pdb/internal-procs.h | 2 +-
libgimp/Makefile.am | 4 ++--
libgimp/gimp_pdb_headers.h | 2 +-
.../{gimpconvert_pdb.c => gimpimageconvert_pdb.c} | 6 +++---
.../{gimpconvert_pdb.h => gimpimageconvert_pdb.h} | 8 ++++----
po/POTFILES.in | 2 +-
tools/pdbgen/Makefile.am | 2 +-
tools/pdbgen/groups.pl | 2 +-
.../pdbgen/pdb/{convert.pdb => image_convert.pdb} | 4 ++--
12 files changed, 19 insertions(+), 19 deletions(-)
---
diff --git a/app/pdb/Makefile.am b/app/pdb/Makefile.am
index f13db85..b82765d 100644
--- a/app/pdb/Makefile.am
+++ b/app/pdb/Makefile.am
@@ -41,7 +41,6 @@ libappinternal_procs_a_SOURCES = \
channel-cmds.c \
color-cmds.c \
context-cmds.c \
- convert-cmds.c \
display-cmds.c \
drawable-cmds.c \
drawable-color-cmds.c \
@@ -61,6 +60,7 @@ libappinternal_procs_a_SOURCES = \
guides-cmds.c \
help-cmds.c \
image-cmds.c \
+ image-convert-cmds.c \
image-select-cmds.c \
image-undo-cmds.c \
item-cmds.c \
diff --git a/app/pdb/convert-cmds.c b/app/pdb/image-convert-cmds.c
similarity index 99%
rename from app/pdb/convert-cmds.c
rename to app/pdb/image-convert-cmds.c
index 9efa81c..80f23f5 100644
--- a/app/pdb/convert-cmds.c
+++ b/app/pdb/image-convert-cmds.c
@@ -260,7 +260,7 @@ image_convert_precision_invoker (GimpProcedure *procedure,
}
void
-register_convert_procs (GimpPDB *pdb)
+register_image_convert_procs (GimpPDB *pdb)
{
GimpProcedure *procedure;
diff --git a/app/pdb/internal-procs.c b/app/pdb/internal-procs.c
index 6075667..949f9a8 100644
--- a/app/pdb/internal-procs.c
+++ b/app/pdb/internal-procs.c
@@ -42,7 +42,6 @@ internal_procs_init (GimpPDB *pdb)
register_channel_procs (pdb);
register_color_procs (pdb);
register_context_procs (pdb);
- register_convert_procs (pdb);
register_display_procs (pdb);
register_drawable_procs (pdb);
register_drawable_color_procs (pdb);
@@ -62,6 +61,7 @@ internal_procs_init (GimpPDB *pdb)
register_guides_procs (pdb);
register_help_procs (pdb);
register_image_procs (pdb);
+ register_image_convert_procs (pdb);
register_image_select_procs (pdb);
register_image_undo_procs (pdb);
register_item_procs (pdb);
diff --git a/app/pdb/internal-procs.h b/app/pdb/internal-procs.h
index 4248a37..92d0c3c 100644
--- a/app/pdb/internal-procs.h
+++ b/app/pdb/internal-procs.h
@@ -31,7 +31,6 @@ void register_buffer_procs (GimpPDB *pdb);
void register_channel_procs (GimpPDB *pdb);
void register_color_procs (GimpPDB *pdb);
void register_context_procs (GimpPDB *pdb);
-void register_convert_procs (GimpPDB *pdb);
void register_display_procs (GimpPDB *pdb);
void register_drawable_procs (GimpPDB *pdb);
void register_drawable_color_procs (GimpPDB *pdb);
@@ -51,6 +50,7 @@ void register_grid_procs (GimpPDB *pdb);
void register_guides_procs (GimpPDB *pdb);
void register_help_procs (GimpPDB *pdb);
void register_image_procs (GimpPDB *pdb);
+void register_image_convert_procs (GimpPDB *pdb);
void register_image_select_procs (GimpPDB *pdb);
void register_image_undo_procs (GimpPDB *pdb);
void register_item_procs (GimpPDB *pdb);
diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am
index 21c6a2a..7085281 100644
--- a/libgimp/Makefile.am
+++ b/libgimp/Makefile.am
@@ -83,7 +83,6 @@ PDB_WRAPPERS_C = \
gimpchannel_pdb.c \
gimpcolor_pdb.c \
gimpcontext_pdb.c \
- gimpconvert_pdb.c \
gimpdisplay_pdb.c \
gimpdrawable_pdb.c \
gimpdrawablecolor_pdb.c \
@@ -102,6 +101,7 @@ PDB_WRAPPERS_C = \
gimpgrid_pdb.c \
gimphelp_pdb.c \
gimpimage_pdb.c \
+ gimpimageconvert_pdb.c \
gimpimageselect_pdb.c \
gimpimageundo_pdb.c \
gimpitem_pdb.c \
@@ -137,7 +137,6 @@ PDB_WRAPPERS_H = \
gimpchannel_pdb.h \
gimpcolor_pdb.h \
gimpcontext_pdb.h \
- gimpconvert_pdb.h \
gimpdisplay_pdb.h \
gimpdrawable_pdb.h \
gimpdrawablecolor_pdb.h \
@@ -156,6 +155,7 @@ PDB_WRAPPERS_H = \
gimpguides_pdb.h \
gimphelp_pdb.h \
gimpimage_pdb.h \
+ gimpimageconvert_pdb.h \
gimpimageselect_pdb.h \
gimpimageundo_pdb.h \
gimpitem_pdb.h \
diff --git a/libgimp/gimp_pdb_headers.h b/libgimp/gimp_pdb_headers.h
index 7ec317e..8d53902 100644
--- a/libgimp/gimp_pdb_headers.h
+++ b/libgimp/gimp_pdb_headers.h
@@ -35,7 +35,6 @@
#include <libgimp/gimpchannel_pdb.h>
#include <libgimp/gimpcolor_pdb.h>
#include <libgimp/gimpcontext_pdb.h>
-#include <libgimp/gimpconvert_pdb.h>
#include <libgimp/gimpdisplay_pdb.h>
#include <libgimp/gimpdrawable_pdb.h>
#include <libgimp/gimpdrawablecolor_pdb.h>
@@ -54,6 +53,7 @@
#include <libgimp/gimpguides_pdb.h>
#include <libgimp/gimphelp_pdb.h>
#include <libgimp/gimpimage_pdb.h>
+#include <libgimp/gimpimageconvert_pdb.h>
#include <libgimp/gimpimageselect_pdb.h>
#include <libgimp/gimpimageundo_pdb.h>
#include <libgimp/gimpitem_pdb.h>
diff --git a/libgimp/gimpconvert_pdb.c b/libgimp/gimpimageconvert_pdb.c
similarity index 98%
rename from libgimp/gimpconvert_pdb.c
rename to libgimp/gimpimageconvert_pdb.c
index b529182..7d070d9 100644
--- a/libgimp/gimpconvert_pdb.c
+++ b/libgimp/gimpimageconvert_pdb.c
@@ -1,7 +1,7 @@
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
*
- * gimpconvert_pdb.c
+ * gimpimageconvert_pdb.c
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -26,8 +26,8 @@
/**
- * SECTION: gimpconvert
- * @title: gimpconvert
+ * SECTION: gimpimageconvert
+ * @title: gimpimageconvert
* @short_description: Conversions between RGB, indexed, and grayscale modes.
*
* Conversions between RGB, indexed, and grayscale modes.
diff --git a/libgimp/gimpconvert_pdb.h b/libgimp/gimpimageconvert_pdb.h
similarity index 94%
rename from libgimp/gimpconvert_pdb.h
rename to libgimp/gimpimageconvert_pdb.h
index a368004..ebf070e 100644
--- a/libgimp/gimpconvert_pdb.h
+++ b/libgimp/gimpimageconvert_pdb.h
@@ -1,7 +1,7 @@
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
*
- * gimpconvert_pdb.h
+ * gimpimageconvert_pdb.h
*
* This library is free software: you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -24,8 +24,8 @@
#error "Only <libgimp/gimp.h> can be included directly."
#endif
-#ifndef __GIMP_CONVERT_PDB_H__
-#define __GIMP_CONVERT_PDB_H__
+#ifndef __GIMP_IMAGE_CONVERT_PDB_H__
+#define __GIMP_IMAGE_CONVERT_PDB_H__
G_BEGIN_DECLS
@@ -51,4 +51,4 @@ gboolean gimp_image_convert_precision (gint32 image_ID,
G_END_DECLS
-#endif /* __GIMP_CONVERT_PDB_H__ */
+#endif /* __GIMP_IMAGE_CONVERT_PDB_H__ */
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ec95e60..3f78992 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -285,7 +285,6 @@ app/paint/paint-enums.c
app/pdb/channel-cmds.c
app/pdb/color-cmds.c
-app/pdb/convert-cmds.c
app/pdb/drawable-cmds.c
app/pdb/drawable-color-cmds.c
app/pdb/drawable-transform-cmds.c
@@ -298,6 +297,7 @@ app/pdb/gimppdbcontext.c
app/pdb/gimpprocedure.c
app/pdb/guides-cmds.c
app/pdb/image-cmds.c
+app/pdb/image-convert-cmds.c
app/pdb/image-select-cmds.c
app/pdb/image-undo-cmds.c
app/pdb/item-transform-cmds.c
diff --git a/tools/pdbgen/Makefile.am b/tools/pdbgen/Makefile.am
index 14707b3..9778646 100644
--- a/tools/pdbgen/Makefile.am
+++ b/tools/pdbgen/Makefile.am
@@ -9,7 +9,6 @@ pdb_sources = \
pdb/channel.pdb \
pdb/color.pdb \
pdb/context.pdb \
- pdb/convert.pdb \
pdb/display.pdb \
pdb/drawable.pdb \
pdb/drawable_color.pdb \
@@ -29,6 +28,7 @@ pdb_sources = \
pdb/guides.pdb \
pdb/help.pdb \
pdb/image.pdb \
+ pdb/image_convert.pdb \
pdb/image_select.pdb \
pdb/image_undo.pdb \
pdb/item.pdb \
diff --git a/tools/pdbgen/groups.pl b/tools/pdbgen/groups.pl
index 18eb334..d9cb852 100644
--- a/tools/pdbgen/groups.pl
+++ b/tools/pdbgen/groups.pl
@@ -7,7 +7,6 @@
channel
color
context
- convert
display
drawable
drawable_color
@@ -27,6 +26,7 @@
guides
help
image
+ image_convert
image_select
image_undo
item
diff --git a/tools/pdbgen/pdb/convert.pdb b/tools/pdbgen/pdb/image_convert.pdb
similarity index 99%
rename from tools/pdbgen/pdb/convert.pdb
rename to tools/pdbgen/pdb/image_convert.pdb
index a37a756..e0de7aa 100644
--- a/tools/pdbgen/pdb/convert.pdb
+++ b/tools/pdbgen/pdb/image_convert.pdb
@@ -277,8 +277,8 @@ CODE
%exports = (app => [ procs], lib => [ procs]);
-$desc = 'Convert';
-$doc_title = 'gimpconvert';
+$desc = 'Image Convert';
+$doc_title = 'gimpimageconvert';
$doc_short_desc = 'Conversions between RGB, indexed, and grayscale modes.';
$doc_long_desc = 'Conversions between RGB, indexed, and grayscale modes.';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]