[gimp] libgimpwidgets: fix some glitches noticed when updating docs



commit 8b22b3ab3519743afc36d8a071f82a461018a7e4
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jul 23 19:32:52 2019 +0200

    libgimpwidgets: fix some glitches noticed when updating docs

 libgimpwidgets/gimpchainbutton.h  | 2 +-
 libgimpwidgets/gimpcolorarea.c    | 4 ++--
 libgimpwidgets/gimpwidgetstypes.h | 2 --
 3 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libgimpwidgets/gimpchainbutton.h b/libgimpwidgets/gimpchainbutton.h
index 317500a3f7..36d7d40b35 100644
--- a/libgimpwidgets/gimpchainbutton.h
+++ b/libgimpwidgets/gimpchainbutton.h
@@ -85,7 +85,7 @@ void          gimp_chain_button_set_active    (GimpChainButton   *button,
                                                gboolean           active);
 gboolean      gimp_chain_button_get_active    (GimpChainButton   *button);
 
-GtkWidget * gimp_chain_button_get_button (GimpChainButton   *button);
+GtkWidget   * gimp_chain_button_get_button    (GimpChainButton   *button);
 
 
 G_END_DECLS
diff --git a/libgimpwidgets/gimpcolorarea.c b/libgimpwidgets/gimpcolorarea.c
index 7684f9056c..030ef6e022 100644
--- a/libgimpwidgets/gimpcolorarea.c
+++ b/libgimpwidgets/gimpcolorarea.c
@@ -657,8 +657,8 @@ gimp_color_area_set_draw_border (GimpColorArea *area,
 
 /**
  * gimp_color_area_set_out_of_gamut:
- * @area:   a #GimpColorArea widget.
- * @config: a #GimpColorConfig object.
+ * @area:         a #GimpColorArea widget.
+ * @out_of_gamut: whether to show an out-of-gamut indicator
  *
  * Sets the color area to render as an out-of-gamut color, i.e. with a
  * small triangle on a corner using the color management out of gamut
diff --git a/libgimpwidgets/gimpwidgetstypes.h b/libgimpwidgets/gimpwidgetstypes.h
index 3dfec172d9..7e235e03f4 100644
--- a/libgimpwidgets/gimpwidgetstypes.h
+++ b/libgimpwidgets/gimpwidgetstypes.h
@@ -68,14 +68,12 @@ typedef struct _GimpPathEditor                GimpPathEditor;
 typedef struct _GimpPickButton                GimpPickButton;
 typedef struct _GimpPreview                   GimpPreview;
 typedef struct _GimpPreviewArea               GimpPreviewArea;
-typedef struct _GimpPixmap                    GimpPixmap;
 typedef struct _GimpRuler                     GimpRuler;
 typedef struct _GimpScrolledPreview           GimpScrolledPreview;
 typedef struct _GimpSizeEntry                 GimpSizeEntry;
 typedef struct _GimpSpinButton                GimpSpinButton;
 typedef struct _GimpStringComboBox            GimpStringComboBox;
 typedef struct _GimpUnitComboBox              GimpUnitComboBox;
-typedef struct _GimpUnitMenu                  GimpUnitMenu;
 typedef struct _GimpUnitStore                 GimpUnitStore;
 typedef struct _GimpZoomModel                 GimpZoomModel;
 


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