[gimp] pdb: remove the section docs from unit.pdb



commit 468276e4d209cfb7ea278854974434bf12026e62
Author: Michael Natterer <mitch gimp org>
Date:   Tue Aug 6 12:55:34 2019 +0200

    pdb: remove the section docs from unit.pdb
    
    The functions are all private and the section is already documented in
    libgimpbase.

 libgimp/gimpunit_pdb.c | 11 -----------
 pdb/groups/unit.pdb    | 19 +++++++++++--------
 2 files changed, 11 insertions(+), 19 deletions(-)
---
diff --git a/libgimp/gimpunit_pdb.c b/libgimp/gimpunit_pdb.c
index 49957aaec6..e31a8b301d 100644
--- a/libgimp/gimpunit_pdb.c
+++ b/libgimp/gimpunit_pdb.c
@@ -24,17 +24,6 @@
 
 #include "gimp.h"
 
-
-/**
- * SECTION: gimpunit
- * @title: gimpunit
- * @short_description: Provides a collection of predefined units and functions for creating user-defined 
units.
- *
- * Provides a collection of predefined units and functions for creating
- * user-defined units.
- **/
-
-
 /**
  * _gimp_unit_get_number_of_units:
  *
diff --git a/pdb/groups/unit.pdb b/pdb/groups/unit.pdb
index 676e8133c2..3d98e35155 100644
--- a/pdb/groups/unit.pdb
+++ b/pdb/groups/unit.pdb
@@ -359,18 +359,21 @@ CODE
 @headers = qw("libgimpbase/gimpbase.h"
               "core/gimpunit.h");
 
-@procs = qw(unit_get_number_of_units unit_get_number_of_built_in_units
-           unit_new unit_get_deletion_flag unit_set_deletion_flag
-            unit_get_identifier unit_get_factor unit_get_digits
-            unit_get_symbol unit_get_abbreviation unit_get_singular
+@procs = qw(unit_get_number_of_units
+            unit_get_number_of_built_in_units
+           unit_new
+            unit_get_deletion_flag
+            unit_set_deletion_flag
+            unit_get_identifier
+            unit_get_factor
+            unit_get_digits
+            unit_get_symbol
+            unit_get_abbreviation
+            unit_get_singular
             unit_get_plural);
 
 %exports = (app => [@procs], lib => [@procs]);
 
 $desc = 'Units';
-$doc_title = 'gimpunit';
-$doc_short_desc = 'Provides a collection of predefined units and functions for creating user-defined units.';
-$doc_long_desc = 'Provides a collection of predefined units and functions for creating user-defined units.';
-$doc_see_also = '#GimpUnitMenu, #GimpSizeEntry';
 
 1;


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