[gtk: 1/2] gtk: document return value of ShortcutFunc
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 1/2] gtk: document return value of ShortcutFunc
- Date: Tue, 18 Jan 2022 23:41:16 +0000 (UTC)
commit 738d962aca39bc70cc99f8547994d2db91467442
Author: Alexandros Theodotou <alex zrythm org>
Date: Tue Jan 18 10:58:47 2022 +0000
gtk: document return value of ShortcutFunc
gtk/gtkshortcutaction.h | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkshortcutaction.h b/gtk/gtkshortcutaction.h
index 495fbbc44c..5e5798878a 100644
--- a/gtk/gtkshortcutaction.h
+++ b/gtk/gtkshortcutaction.h
@@ -37,6 +37,8 @@ G_BEGIN_DECLS
* @user_data: (nullable): The user data provided when activating the action
*
* Prototype for shortcuts based on user callbacks.
+ *
+ * Returns: %TRUE if the action was successful.
*/
typedef gboolean (* GtkShortcutFunc) (GtkWidget *widget,
GVariant *args,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]