[gimp] libgimpwidgets: more docs and annotations
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpwidgets: more docs and annotations
- Date: Fri, 9 Aug 2019 11:00:16 +0000 (UTC)
commit ebddecd696f62af9e798af53a891788d61c9bac6
Author: Michael Natterer <mitch gimp org>
Date: Fri Aug 9 12:59:41 2019 +0200
libgimpwidgets: more docs and annotations
libgimpwidgets/gimppreview.c | 10 ++++++++++
libgimpwidgets/gimpsizeentry.c | 6 ++++++
2 files changed, 16 insertions(+)
---
diff --git a/libgimpwidgets/gimppreview.c b/libgimpwidgets/gimppreview.c
index 00a1b4a8c6..2403c5adc8 100644
--- a/libgimpwidgets/gimppreview.c
+++ b/libgimpwidgets/gimppreview.c
@@ -941,6 +941,16 @@ gimp_preview_set_default_cursor (GimpPreview *preview,
g_set_object (&priv->default_cursor, cursor);
}
+/**
+ * gimp_preview_get_default_cursor:
+ * @preview: a #GimpPreview widget
+ *
+ * See gimp_preview_set_default_cursor():
+ *
+ * Returns: (transfer none): The @preview's default #GdkCursor.
+ *
+ * Since: 3.0
+ **/
GdkCursor *
gimp_preview_get_default_cursor (GimpPreview *preview)
{
diff --git a/libgimpwidgets/gimpsizeentry.c b/libgimpwidgets/gimpsizeentry.c
index afb4668ba9..0edeb392b2 100644
--- a/libgimpwidgets/gimpsizeentry.c
+++ b/libgimpwidgets/gimpsizeentry.c
@@ -541,6 +541,12 @@ gimp_size_entry_get_n_fields (GimpSizeEntry *gse)
return GET_PRIVATE (gse)->number_of_fields;
}
+/**
+ * gimp_size_entry_get_unit_combo:
+ * @gse: a #GimpSizeEntry.
+ *
+ * Returns: (transfer none): the size entry's #GimpUnitComboBox.
+ **/
GtkWidget *
gimp_size_entry_get_unit_combo (GimpSizeEntry *gse)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]