[gimp] pdb: rename all procedure query procedures to gimp-pdb-get-proc-foo



commit e82c80bf5fd7ae0bb1967eb351321dba36f1adb9
Author: Michael Natterer <mitch gimp org>
Date:   Sun Sep 8 15:07:24 2019 +0200

    pdb: rename all procedure query procedures to gimp-pdb-get-proc-foo

 app/pdb/pdb-cmds.c         | 144 ++++++++++++++++++++++-----------------------
 libgimp/gimppdb_pdb.c      |  72 +++++++++++------------
 libgimp/gimppdb_pdb.h      |  78 ++++++++++++------------
 libgimp/gimppdbprocedure.c |  16 ++---
 pdb/groups/pdb.pdb         |  32 +++++-----
 5 files changed, 171 insertions(+), 171 deletions(-)
---
diff --git a/app/pdb/pdb-cmds.c b/app/pdb/pdb-cmds.c
index 631b1dd087..120b24bae8 100644
--- a/app/pdb/pdb-cmds.c
+++ b/app/pdb/pdb-cmds.c
@@ -212,12 +212,12 @@ pdb_proc_exists_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_info_invoker (GimpProcedure         *procedure,
-                       Gimp                  *gimp,
-                       GimpContext           *context,
-                       GimpProgress          *progress,
-                       const GimpValueArray  *args,
-                       GError               **error)
+pdb_get_proc_info_invoker (GimpProcedure         *procedure,
+                           Gimp                  *gimp,
+                           GimpContext           *context,
+                           GimpProgress          *progress,
+                           const GimpValueArray  *args,
+                           GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -262,12 +262,12 @@ pdb_proc_info_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_image_types_invoker (GimpProcedure         *procedure,
-                              Gimp                  *gimp,
-                              GimpContext           *context,
-                              GimpProgress          *progress,
-                              const GimpValueArray  *args,
-                              GError               **error)
+pdb_get_proc_image_types_invoker (GimpProcedure         *procedure,
+                                  Gimp                  *gimp,
+                                  GimpContext           *context,
+                                  GimpProgress          *progress,
+                                  const GimpValueArray  *args,
+                                  GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -304,12 +304,12 @@ pdb_proc_image_types_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_menu_label_invoker (GimpProcedure         *procedure,
-                             Gimp                  *gimp,
-                             GimpContext           *context,
-                             GimpProgress          *progress,
-                             const GimpValueArray  *args,
-                             GError               **error)
+pdb_get_proc_menu_label_invoker (GimpProcedure         *procedure,
+                                 Gimp                  *gimp,
+                                 GimpContext           *context,
+                                 GimpProgress          *progress,
+                                 const GimpValueArray  *args,
+                                 GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -346,12 +346,12 @@ pdb_proc_menu_label_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_menu_paths_invoker (GimpProcedure         *procedure,
-                             Gimp                  *gimp,
-                             GimpContext           *context,
-                             GimpProgress          *progress,
-                             const GimpValueArray  *args,
-                             GError               **error)
+pdb_get_proc_menu_paths_invoker (GimpProcedure         *procedure,
+                                 Gimp                  *gimp,
+                                 GimpContext           *context,
+                                 GimpProgress          *progress,
+                                 const GimpValueArray  *args,
+                                 GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -409,12 +409,12 @@ pdb_proc_menu_paths_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_documentation_invoker (GimpProcedure         *procedure,
-                                Gimp                  *gimp,
-                                GimpContext           *context,
-                                GimpProgress          *progress,
-                                const GimpValueArray  *args,
-                                GError               **error)
+pdb_get_proc_documentation_invoker (GimpProcedure         *procedure,
+                                    Gimp                  *gimp,
+                                    GimpContext           *context,
+                                    GimpProgress          *progress,
+                                    const GimpValueArray  *args,
+                                    GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -459,12 +459,12 @@ pdb_proc_documentation_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_attribution_invoker (GimpProcedure         *procedure,
-                              Gimp                  *gimp,
-                              GimpContext           *context,
-                              GimpProgress          *progress,
-                              const GimpValueArray  *args,
-                              GError               **error)
+pdb_get_proc_attribution_invoker (GimpProcedure         *procedure,
+                                  Gimp                  *gimp,
+                                  GimpContext           *context,
+                                  GimpProgress          *progress,
+                                  const GimpValueArray  *args,
+                                  GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -509,12 +509,12 @@ pdb_proc_attribution_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_argument_invoker (GimpProcedure         *procedure,
-                           Gimp                  *gimp,
-                           GimpContext           *context,
-                           GimpProgress          *progress,
-                           const GimpValueArray  *args,
-                           GError               **error)
+pdb_get_proc_argument_invoker (GimpProcedure         *procedure,
+                               Gimp                  *gimp,
+                               GimpContext           *context,
+                               GimpProgress          *progress,
+                               const GimpValueArray  *args,
+                               GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -553,12 +553,12 @@ pdb_proc_argument_invoker (GimpProcedure         *procedure,
 }
 
 static GimpValueArray *
-pdb_proc_return_value_invoker (GimpProcedure         *procedure,
-                               Gimp                  *gimp,
-                               GimpContext           *context,
-                               GimpProgress          *progress,
-                               const GimpValueArray  *args,
-                               GError               **error)
+pdb_get_proc_return_value_invoker (GimpProcedure         *procedure,
+                                   Gimp                  *gimp,
+                                   GimpContext           *context,
+                                   GimpProgress          *progress,
+                                   const GimpValueArray  *args,
+                                   GError               **error)
 {
   gboolean success = TRUE;
   GimpValueArray *return_vals;
@@ -867,11 +867,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-info
+   * gimp-pdb-get-proc-info
    */
-  procedure = gimp_procedure_new (pdb_proc_info_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_info_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-info");
+                               "gimp-pdb-get-proc-info");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for information on the specified 
procedure.",
                                      "This procedure returns information on the specified procedure. The 
procedure type, number of input, and number of return values are returned. For specific information on each 
input argument and return value, use the 'gimp-pdb-db-proc-argument' and 'gimp-pdb-db-proc-return-value' 
procedures.",
@@ -909,11 +909,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-image-types
+   * gimp-pdb-get-proc-image-types
    */
-  procedure = gimp_procedure_new (pdb_proc_image_types_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_image_types_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-image-types");
+                               "gimp-pdb-get-proc-image-types");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for the image types supported by the 
specified procedure.",
                                      "This procedure returns the image types supported by the specified 
procedure.",
@@ -939,11 +939,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-menu-label
+   * gimp-pdb-get-proc-menu-label
    */
-  procedure = gimp_procedure_new (pdb_proc_menu_label_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_menu_label_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-menu-label");
+                               "gimp-pdb-get-proc-menu-label");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for the procedure's menu label.",
                                      "This procedure returns the menu label of the specified procedure.",
@@ -969,11 +969,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-menu-paths
+   * gimp-pdb-get-proc-menu-paths
    */
-  procedure = gimp_procedure_new (pdb_proc_menu_paths_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_menu_paths_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-menu-paths");
+                               "gimp-pdb-get-proc-menu-paths");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for the procedure's menu paths.",
                                      "This procedure returns the menu paths of the specified procedure.",
@@ -1003,11 +1003,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-documentation
+   * gimp-pdb-get-proc-documentation
    */
-  procedure = gimp_procedure_new (pdb_proc_documentation_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_documentation_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-documentation");
+                               "gimp-pdb-get-proc-documentation");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for documentation on the specified 
procedure.",
                                      "This procedure returns documentation on the specified procedure. A 
short blurb, detailed help and help_id.",
@@ -1047,11 +1047,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-attribution
+   * gimp-pdb-get-proc-attribution
    */
-  procedure = gimp_procedure_new (pdb_proc_attribution_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_attribution_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-attribution");
+                               "gimp-pdb-get-proc-attribution");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for attribution information on the 
specified procedure.",
                                      "This procedure returns attribution information on the specified 
procedure. The authors, copyright information and date are returned.",
@@ -1091,11 +1091,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-argument
+   * gimp-pdb-get-proc-argument
    */
-  procedure = gimp_procedure_new (pdb_proc_argument_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_argument_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-argument");
+                               "gimp-pdb-get-proc-argument");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for information on the specified 
procedure's argument.",
                                      "This procedure returns the #GParamSpec of procedure_name's argument.",
@@ -1126,11 +1126,11 @@ register_pdb_procs (GimpPDB *pdb)
   g_object_unref (procedure);
 
   /*
-   * gimp-pdb-proc-return-value
+   * gimp-pdb-get-proc-return-value
    */
-  procedure = gimp_procedure_new (pdb_proc_return_value_invoker);
+  procedure = gimp_procedure_new (pdb_get_proc_return_value_invoker);
   gimp_object_set_static_name (GIMP_OBJECT (procedure),
-                               "gimp-pdb-proc-return-value");
+                               "gimp-pdb-get-proc-return-value");
   gimp_procedure_set_static_strings (procedure,
                                      "Queries the procedural database for information on the specified 
procedure's return value.",
                                      "This procedure returns the #GParamSpec of procedure_name's return 
value.",
diff --git a/libgimp/gimppdb_pdb.c b/libgimp/gimppdb_pdb.c
index f950ff138a..b847805160 100644
--- a/libgimp/gimppdb_pdb.c
+++ b/libgimp/gimppdb_pdb.c
@@ -208,7 +208,7 @@ _gimp_pdb_proc_exists (const gchar *procedure_name)
 }
 
 /**
- * _gimp_pdb_proc_info:
+ * _gimp_pdb_get_proc_info:
  * @procedure_name: The procedure name.
  * @proc_type: (out): The procedure type.
  * @num_args: (out): The number of input arguments.
@@ -226,10 +226,10 @@ _gimp_pdb_proc_exists (const gchar *procedure_name)
  * Returns: TRUE on success.
  **/
 gboolean
-_gimp_pdb_proc_info (const gchar     *procedure_name,
-                     GimpPDBProcType *proc_type,
-                     gint            *num_args,
-                     gint            *num_values)
+_gimp_pdb_get_proc_info (const gchar     *procedure_name,
+                         GimpPDBProcType *proc_type,
+                         gint            *num_args,
+                         gint            *num_values)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -240,7 +240,7 @@ _gimp_pdb_proc_info (const gchar     *procedure_name,
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-info",
+                                              "gimp-pdb-get-proc-info",
                                               args);
   gimp_value_array_unref (args);
 
@@ -263,7 +263,7 @@ _gimp_pdb_proc_info (const gchar     *procedure_name,
 }
 
 /**
- * _gimp_pdb_proc_image_types:
+ * _gimp_pdb_get_proc_image_types:
  * @procedure_name: The procedure name.
  *
  * Queries the procedural database for the image types supported by the
@@ -278,7 +278,7 @@ _gimp_pdb_proc_info (const gchar     *procedure_name,
  * Since: 3.0
  **/
 gchar *
-_gimp_pdb_proc_image_types (const gchar *procedure_name)
+_gimp_pdb_get_proc_image_types (const gchar *procedure_name)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -289,7 +289,7 @@ _gimp_pdb_proc_image_types (const gchar *procedure_name)
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-image-types",
+                                              "gimp-pdb-get-proc-image-types",
                                               args);
   gimp_value_array_unref (args);
 
@@ -302,7 +302,7 @@ _gimp_pdb_proc_image_types (const gchar *procedure_name)
 }
 
 /**
- * _gimp_pdb_proc_menu_label:
+ * _gimp_pdb_get_proc_menu_label:
  * @procedure_name: The procedure name.
  *
  * Queries the procedural database for the procedure's menu label.
@@ -315,7 +315,7 @@ _gimp_pdb_proc_image_types (const gchar *procedure_name)
  * Since: 3.0
  **/
 gchar *
-_gimp_pdb_proc_menu_label (const gchar *procedure_name)
+_gimp_pdb_get_proc_menu_label (const gchar *procedure_name)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -326,7 +326,7 @@ _gimp_pdb_proc_menu_label (const gchar *procedure_name)
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-menu-label",
+                                              "gimp-pdb-get-proc-menu-label",
                                               args);
   gimp_value_array_unref (args);
 
@@ -339,7 +339,7 @@ _gimp_pdb_proc_menu_label (const gchar *procedure_name)
 }
 
 /**
- * _gimp_pdb_proc_menu_paths:
+ * _gimp_pdb_get_proc_menu_paths:
  * @procedure_name: The procedure name.
  * @num_menu_paths: (out): The number of menu paths.
  *
@@ -354,8 +354,8 @@ _gimp_pdb_proc_menu_label (const gchar *procedure_name)
  * Since: 3.0
  **/
 gchar **
-_gimp_pdb_proc_menu_paths (const gchar *procedure_name,
-                           gint        *num_menu_paths)
+_gimp_pdb_get_proc_menu_paths (const gchar *procedure_name,
+                               gint        *num_menu_paths)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -366,7 +366,7 @@ _gimp_pdb_proc_menu_paths (const gchar *procedure_name,
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-menu-paths",
+                                              "gimp-pdb-get-proc-menu-paths",
                                               args);
   gimp_value_array_unref (args);
 
@@ -384,7 +384,7 @@ _gimp_pdb_proc_menu_paths (const gchar *procedure_name,
 }
 
 /**
- * _gimp_pdb_proc_documentation:
+ * _gimp_pdb_get_proc_documentation:
  * @procedure_name: The procedure name.
  * @blurb: (out) (transfer full): A short blurb.
  * @help: (out) (transfer full): Detailed procedure help.
@@ -401,10 +401,10 @@ _gimp_pdb_proc_menu_paths (const gchar *procedure_name,
  * Since: 3.0
  **/
 gboolean
-_gimp_pdb_proc_documentation (const gchar  *procedure_name,
-                              gchar       **blurb,
-                              gchar       **help,
-                              gchar       **help_id)
+_gimp_pdb_get_proc_documentation (const gchar  *procedure_name,
+                                  gchar       **blurb,
+                                  gchar       **help,
+                                  gchar       **help_id)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -415,7 +415,7 @@ _gimp_pdb_proc_documentation (const gchar  *procedure_name,
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-documentation",
+                                              "gimp-pdb-get-proc-documentation",
                                               args);
   gimp_value_array_unref (args);
 
@@ -438,7 +438,7 @@ _gimp_pdb_proc_documentation (const gchar  *procedure_name,
 }
 
 /**
- * _gimp_pdb_proc_attribution:
+ * _gimp_pdb_get_proc_attribution:
  * @procedure_name: The procedure name.
  * @authors: (out) (transfer full): Authors of the procedure.
  * @copyright: (out) (transfer full): The copyright.
@@ -455,10 +455,10 @@ _gimp_pdb_proc_documentation (const gchar  *procedure_name,
  * Since: 3.0
  **/
 gboolean
-_gimp_pdb_proc_attribution (const gchar  *procedure_name,
-                            gchar       **authors,
-                            gchar       **copyright,
-                            gchar       **date)
+_gimp_pdb_get_proc_attribution (const gchar  *procedure_name,
+                                gchar       **authors,
+                                gchar       **copyright,
+                                gchar       **date)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -469,7 +469,7 @@ _gimp_pdb_proc_attribution (const gchar  *procedure_name,
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-attribution",
+                                              "gimp-pdb-get-proc-attribution",
                                               args);
   gimp_value_array_unref (args);
 
@@ -492,7 +492,7 @@ _gimp_pdb_proc_attribution (const gchar  *procedure_name,
 }
 
 /**
- * _gimp_pdb_proc_argument:
+ * _gimp_pdb_get_proc_argument:
  * @procedure_name: The procedure name.
  * @arg_num: The argument number.
  *
@@ -507,8 +507,8 @@ _gimp_pdb_proc_attribution (const gchar  *procedure_name,
  * Since: 3.0
  **/
 GParamSpec *
-_gimp_pdb_proc_argument (const gchar *procedure_name,
-                         gint         arg_num)
+_gimp_pdb_get_proc_argument (const gchar *procedure_name,
+                             gint         arg_num)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -520,7 +520,7 @@ _gimp_pdb_proc_argument (const gchar *procedure_name,
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-argument",
+                                              "gimp-pdb-get-proc-argument",
                                               args);
   gimp_value_array_unref (args);
 
@@ -533,7 +533,7 @@ _gimp_pdb_proc_argument (const gchar *procedure_name,
 }
 
 /**
- * _gimp_pdb_proc_return_value:
+ * _gimp_pdb_get_proc_return_value:
  * @procedure_name: The procedure name.
  * @val_num: The return value number.
  *
@@ -549,8 +549,8 @@ _gimp_pdb_proc_argument (const gchar *procedure_name,
  * Since: 3.0
  **/
 GParamSpec *
-_gimp_pdb_proc_return_value (const gchar *procedure_name,
-                             gint         val_num)
+_gimp_pdb_get_proc_return_value (const gchar *procedure_name,
+                                 gint         val_num)
 {
   GimpValueArray *args;
   GimpValueArray *return_vals;
@@ -562,7 +562,7 @@ _gimp_pdb_proc_return_value (const gchar *procedure_name,
                                           G_TYPE_NONE);
 
   return_vals = gimp_pdb_run_procedure_array (gimp_get_pdb (),
-                                              "gimp-pdb-proc-return-value",
+                                              "gimp-pdb-get-proc-return-value",
                                               args);
   gimp_value_array_unref (args);
 
diff --git a/libgimp/gimppdb_pdb.h b/libgimp/gimppdb_pdb.h
index c42de31c2e..85cba99c53 100644
--- a/libgimp/gimppdb_pdb.h
+++ b/libgimp/gimppdb_pdb.h
@@ -32,45 +32,45 @@ G_BEGIN_DECLS
 /* For information look into the C source or the html documentation */
 
 
-G_GNUC_INTERNAL gchar*      _gimp_pdb_temp_name          (void);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_dump               (const gchar       *filename);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_query              (const gchar       *name,
-                                                          const gchar       *blurb,
-                                                          const gchar       *help,
-                                                          const gchar       *authors,
-                                                          const gchar       *copyright,
-                                                          const gchar       *date,
-                                                          const gchar       *proc_type,
-                                                          gint              *num_matches,
-                                                          gchar           ***procedure_names);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_proc_exists        (const gchar       *procedure_name);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_proc_info          (const gchar       *procedure_name,
-                                                          GimpPDBProcType   *proc_type,
-                                                          gint              *num_args,
-                                                          gint              *num_values);
-G_GNUC_INTERNAL gchar*      _gimp_pdb_proc_image_types   (const gchar       *procedure_name);
-G_GNUC_INTERNAL gchar*      _gimp_pdb_proc_menu_label    (const gchar       *procedure_name);
-G_GNUC_INTERNAL gchar**     _gimp_pdb_proc_menu_paths    (const gchar       *procedure_name,
-                                                          gint              *num_menu_paths);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_proc_documentation (const gchar       *procedure_name,
-                                                          gchar            **blurb,
-                                                          gchar            **help,
-                                                          gchar            **help_id);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_proc_attribution   (const gchar       *procedure_name,
-                                                          gchar            **authors,
-                                                          gchar            **copyright,
-                                                          gchar            **date);
-G_GNUC_INTERNAL GParamSpec* _gimp_pdb_proc_argument      (const gchar       *procedure_name,
-                                                          gint               arg_num);
-G_GNUC_INTERNAL GParamSpec* _gimp_pdb_proc_return_value  (const gchar       *procedure_name,
-                                                          gint               val_num);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_get_data           (const gchar       *identifier,
-                                                          gint              *bytes,
-                                                          guint8           **data);
-G_GNUC_INTERNAL gint        _gimp_pdb_get_data_size      (const gchar       *identifier);
-G_GNUC_INTERNAL gboolean    _gimp_pdb_set_data           (const gchar       *identifier,
-                                                          gint               bytes,
-                                                          const guint8      *data);
+G_GNUC_INTERNAL gchar*      _gimp_pdb_temp_name              (void);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_dump                   (const gchar       *filename);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_query                  (const gchar       *name,
+                                                              const gchar       *blurb,
+                                                              const gchar       *help,
+                                                              const gchar       *authors,
+                                                              const gchar       *copyright,
+                                                              const gchar       *date,
+                                                              const gchar       *proc_type,
+                                                              gint              *num_matches,
+                                                              gchar           ***procedure_names);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_proc_exists            (const gchar       *procedure_name);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_get_proc_info          (const gchar       *procedure_name,
+                                                              GimpPDBProcType   *proc_type,
+                                                              gint              *num_args,
+                                                              gint              *num_values);
+G_GNUC_INTERNAL gchar*      _gimp_pdb_get_proc_image_types   (const gchar       *procedure_name);
+G_GNUC_INTERNAL gchar*      _gimp_pdb_get_proc_menu_label    (const gchar       *procedure_name);
+G_GNUC_INTERNAL gchar**     _gimp_pdb_get_proc_menu_paths    (const gchar       *procedure_name,
+                                                              gint              *num_menu_paths);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_get_proc_documentation (const gchar       *procedure_name,
+                                                              gchar            **blurb,
+                                                              gchar            **help,
+                                                              gchar            **help_id);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_get_proc_attribution   (const gchar       *procedure_name,
+                                                              gchar            **authors,
+                                                              gchar            **copyright,
+                                                              gchar            **date);
+G_GNUC_INTERNAL GParamSpec* _gimp_pdb_get_proc_argument      (const gchar       *procedure_name,
+                                                              gint               arg_num);
+G_GNUC_INTERNAL GParamSpec* _gimp_pdb_get_proc_return_value  (const gchar       *procedure_name,
+                                                              gint               val_num);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_get_data               (const gchar       *identifier,
+                                                              gint              *bytes,
+                                                              guint8           **data);
+G_GNUC_INTERNAL gint        _gimp_pdb_get_data_size          (const gchar       *identifier);
+G_GNUC_INTERNAL gboolean    _gimp_pdb_set_data               (const gchar       *identifier,
+                                                              gint               bytes,
+                                                              const guint8      *data);
 
 
 G_END_DECLS
diff --git a/libgimp/gimppdbprocedure.c b/libgimp/gimppdbprocedure.c
index 925b620142..13bbdb051f 100644
--- a/libgimp/gimppdbprocedure.c
+++ b/libgimp/gimppdbprocedure.c
@@ -187,7 +187,7 @@ _gimp_pdb_procedure_new (GimpPDB     *pdb,
   g_return_val_if_fail (GIMP_IS_PDB (pdb), NULL);
   g_return_val_if_fail (gimp_is_canonical_identifier (name), NULL);
 
-  _gimp_pdb_proc_info (name, &type, &n_args, &n_return_vals);
+  _gimp_pdb_get_proc_info (name, &type, &n_args, &n_return_vals);
 
   procedure = g_object_new (GIMP_TYPE_PDB_PROCEDURE,
                             "plug-in",        _gimp_pdb_get_plug_in (pdb),
@@ -196,13 +196,13 @@ _gimp_pdb_procedure_new (GimpPDB     *pdb,
                             "pdb",            pdb,
                             NULL);
 
-  _gimp_pdb_proc_documentation     (name,      &blurb, &help, &help_id);
+  _gimp_pdb_get_proc_documentation (name,      &blurb, &help, &help_id);
   gimp_procedure_set_documentation (procedure,  blurb,  help,  help_id);
   g_free (blurb);
   g_free (help);
   g_free (help_id);
 
-  _gimp_pdb_proc_attribution     (name,      &authors, &copyright, &date);
+  _gimp_pdb_get_proc_attribution (name,      &authors, &copyright, &date);
   gimp_procedure_set_attribution (procedure,  authors,  copyright,  date);
   g_free (authors);
   g_free (copyright);
@@ -210,14 +210,14 @@ _gimp_pdb_procedure_new (GimpPDB     *pdb,
 
   for (i = 0; i < n_args; i++)
     {
-      GParamSpec *pspec = _gimp_pdb_proc_argument (name, i);
+      GParamSpec *pspec = _gimp_pdb_get_proc_argument (name, i);
 
       gimp_procedure_add_argument (procedure, pspec);
     }
 
   for (i = 0; i < n_return_vals; i++)
     {
-      GParamSpec *pspec = _gimp_pdb_proc_return_value (name, i);
+      GParamSpec *pspec = _gimp_pdb_get_proc_return_value (name, i);
 
       gimp_procedure_add_return_value (procedure, pspec);
     }
@@ -229,15 +229,15 @@ _gimp_pdb_procedure_new (GimpPDB     *pdb,
       gint    n_menu_paths;
       gint    i;
 
-      string = _gimp_pdb_proc_image_types (name);
+      string = _gimp_pdb_get_proc_image_types (name);
       gimp_procedure_set_image_types (procedure, string);
       g_free (string);
 
-      string = _gimp_pdb_proc_menu_label (name);
+      string = _gimp_pdb_get_proc_menu_label (name);
       gimp_procedure_set_menu_label (procedure, string);
       g_free (string);
 
-      menu_paths = _gimp_pdb_proc_menu_paths (name, &n_menu_paths);
+      menu_paths = _gimp_pdb_get_proc_menu_paths (name, &n_menu_paths);
       for (i = 0; i < n_menu_paths; i++)
         gimp_procedure_add_menu_path (procedure, menu_paths[i]);
       g_strfreev (menu_paths);
diff --git a/pdb/groups/pdb.pdb b/pdb/groups/pdb.pdb
index 83261cdc78..6ee392e30f 100644
--- a/pdb/groups/pdb.pdb
+++ b/pdb/groups/pdb.pdb
@@ -190,7 +190,7 @@ CODE
     );
 }
 
-sub pdb_proc_info {
+sub pdb_get_proc_info {
     $blurb = <<'BLURB';
 Queries the procedural database for information on the specified procedure.
 BLURB
@@ -246,7 +246,7 @@ CODE
     );
 }
 
-sub pdb_proc_image_types {
+sub pdb_get_proc_image_types {
     $blurb = <<'BLURB';
 Queries the procedural database for the image types supported by the
 specified procedure.
@@ -292,7 +292,7 @@ CODE
     );
 }
 
-sub pdb_proc_menu_label {
+sub pdb_get_proc_menu_label {
     $blurb = <<'BLURB';
 Queries the procedural database for the procedure's menu label.
 BLURB
@@ -337,7 +337,7 @@ CODE
     );
 }
 
-sub pdb_proc_menu_paths {
+sub pdb_get_proc_menu_paths {
     $blurb = <<'BLURB';
 Queries the procedural database for the procedure's menu paths.
 BLURB
@@ -401,7 +401,7 @@ CODE
     );
 }
 
-sub pdb_proc_documentation {
+sub pdb_get_proc_documentation {
     $blurb = <<'BLURB';
 Queries the procedural database for documentation on the specified procedure.
 BLURB
@@ -453,7 +453,7 @@ CODE
     );
 }
 
-sub pdb_proc_attribution {
+sub pdb_get_proc_attribution {
     $blurb = <<'BLURB';
 Queries the procedural database for attribution information on the
 specified procedure.
@@ -506,7 +506,7 @@ CODE
     );
 }
 
-sub pdb_proc_argument {
+sub pdb_get_proc_argument {
     $blurb = <<BLURB;
 Queries the procedural database for information on the specified procedure's
 argument.
@@ -556,7 +556,7 @@ CODE
    );
 }
 
-sub pdb_proc_return_value {
+sub pdb_get_proc_return_value {
     $blurb = <<BLURB;
 Queries the procedural database for information on the specified procedure's
 return value.
@@ -770,14 +770,14 @@ CODE
             pdb_dump
             pdb_query
             pdb_proc_exists
-            pdb_proc_info
-            pdb_proc_image_types
-            pdb_proc_menu_label
-            pdb_proc_menu_paths
-            pdb_proc_documentation
-            pdb_proc_attribution
-            pdb_proc_argument
-            pdb_proc_return_value
+            pdb_get_proc_info
+            pdb_get_proc_image_types
+            pdb_get_proc_menu_label
+            pdb_get_proc_menu_paths
+            pdb_get_proc_documentation
+            pdb_get_proc_attribution
+            pdb_get_proc_argument
+            pdb_get_proc_return_value
            pdb_get_data
             pdb_get_data_size
            pdb_set_data);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]