[gimp] GimpHelpFunc: don't annotate (closure)
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] GimpHelpFunc: don't annotate (closure)
- Date: Fri, 8 May 2020 22:16:52 +0000 (UTC)
commit 69c5fd02d4775ae6eb34792fd57ea348b97e90cf
Author: Niels De Graef <nielsdegraef gmail com>
Date: Fri May 8 21:48:30 2020 +0200
GimpHelpFunc: don't annotate (closure)
This is incorrect in that bindings trying to pass on the function cannot
pass on a user data (for closures). As such, get rid of the annotation.
libgimpwidgets/gimphelpui.c | 2 +-
libgimpwidgets/gimpwidgetstypes.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgimpwidgets/gimphelpui.c b/libgimpwidgets/gimphelpui.c
index f25547ae48..e42195b547 100644
--- a/libgimpwidgets/gimphelpui.c
+++ b/libgimpwidgets/gimphelpui.c
@@ -82,7 +82,7 @@ static gboolean gimp_context_help_idle_show_help (gpointer data);
/**
* gimp_standard_help_func:
* @help_id: A unique help identifier.
- * @help_data: (closure): The @help_data passed to gimp_help_connect().
+ * @help_data: The @help_data passed to gimp_help_connect().
*
* This is the standard GIMP help function which does nothing but calling
* gimp_help(). It is the right function to use in almost all cases.
diff --git a/libgimpwidgets/gimpwidgetstypes.h b/libgimpwidgets/gimpwidgetstypes.h
index 2b92882eaa..0fea008b97 100644
--- a/libgimpwidgets/gimpwidgetstypes.h
+++ b/libgimpwidgets/gimpwidgetstypes.h
@@ -82,7 +82,7 @@ typedef struct _GimpZoomModel GimpZoomModel;
/**
* GimpHelpFunc:
* @help_id: the help ID
- * @help_data: (closure): the help user data
+ * @help_data: the help user data
*
* This is the prototype for all functions you pass as @help_func to
* the various GIMP dialog constructors like gimp_dialog_new(),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]