summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Schwinn <alexxcons@xfce.org>2022-01-06 23:41:11 +0100
committerAlexander Schwinn <alexxcons@xfce.org>2022-01-07 19:16:32 +0000
commitb6723f1f158ebfd9d7eb87e124d21a5b8e270766 (patch)
tree8fe154803a4657b0b5799fc21505e6cdb46d37ff
parentf0c8415b59d7f13e43ceb4a9dcac677922dfd8c7 (diff)
downloadlibxfce4ui-b6723f1f158ebfd9d7eb87e124d21a5b8e270766.tar.gz
Add comment to return gboolean in XfceGtkActionEntry
See as well: https://gitlab.xfce.org/xfce/thunar/-/issues/469 https://gitlab.xfce.org/xfce/thunar/-/merge_requests/179 https://gitlab.xfce.org/apps/xfce4-terminal/-/merge_requests/33
-rw-r--r--libxfce4ui/xfce-gtk-extensions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libxfce4ui/xfce-gtk-extensions.h b/libxfce4ui/xfce-gtk-extensions.h
index 11e6a1f..9e8dbdd 100644
--- a/libxfce4ui/xfce-gtk-extensions.h
+++ b/libxfce4ui/xfce-gtk-extensions.h
@@ -64,6 +64,7 @@ struct _XfceGtkActionEntry
const gchar *menu_item_icon_name; /* optional icon name which will be used to find a image for the item */
GCallback callback; /* The callback which will be triggered on activation */
+ /* The callback has to return TRUE to signal that the accelerator was activated and handled */
};
typedef struct _XfceGtkActionEntry XfceGtkActionEntry;