From 6632540e604873f0f80d17355c79477323d26b89 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 6 Sep 2015 23:43:00 +0200 Subject: Add annotation taken from libgnomekbd --- libmatekbd/matekbd-desktop-config.c | 4 ++++ libmatekbd/matekbd-indicator-config.c | 4 ++++ libmatekbd/matekbd-indicator.c | 4 ++++ libmatekbd/matekbd-keyboard-config.c | 4 ++++ libmatekbd/matekbd-status.c | 4 ++++ libmatekbd/matekbd-util.c | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/libmatekbd/matekbd-desktop-config.c b/libmatekbd/matekbd-desktop-config.c index 03a98de..806f1e5 100644 --- a/libmatekbd/matekbd-desktop-config.c +++ b/libmatekbd/matekbd-desktop-config.c @@ -239,6 +239,10 @@ matekbd_desktop_config_restore_group (MatekbdDesktopConfig * config) xkl_engine_lock_group (config->engine, group); } +/** + * matekbd_desktop_config_start_listen: + * @func: (scope notified): a function to call when settings are changed + */ void matekbd_desktop_config_start_listen (MatekbdDesktopConfig * config, GCallback func, diff --git a/libmatekbd/matekbd-indicator-config.c b/libmatekbd/matekbd-indicator-config.c index 18bb994..9937ee3 100644 --- a/libmatekbd/matekbd-indicator-config.c +++ b/libmatekbd/matekbd-indicator-config.c @@ -301,6 +301,10 @@ matekbd_indicator_config_activate (MatekbdIndicatorConfig * ind_config) ind_config->secondary_groups_mask); } +/** + * matekbd_indicator_config_start_listen: + * @func: (scope notified): a function to call when settings are changed + */ void matekbd_indicator_config_start_listen (MatekbdIndicatorConfig * ind_config, diff --git a/libmatekbd/matekbd-indicator.c b/libmatekbd/matekbd-indicator.c index aef88d2..6fb551d 100644 --- a/libmatekbd/matekbd-indicator.c +++ b/libmatekbd/matekbd-indicator.c @@ -870,6 +870,10 @@ matekbd_indicator_get_xkl_engine () return globals.engine; } +/** + * matekbd_indicator_get_group_names: + * Returns: (transfer none) (array zero-terminated=1): List of group names + */ gchar ** matekbd_indicator_get_group_names () { diff --git a/libmatekbd/matekbd-keyboard-config.c b/libmatekbd/matekbd-keyboard-config.c index 019e1d6..9a7abc2 100644 --- a/libmatekbd/matekbd-keyboard-config.c +++ b/libmatekbd/matekbd-keyboard-config.c @@ -635,6 +635,10 @@ matekbd_keyboard_config_activate (MatekbdKeyboardConfig * kbd_config) return rv; } +/** + * matekbd_keyboard_config_start_listen: + * @func: (scope notified): a function to call when settings are changed + */ void matekbd_keyboard_config_start_listen (MatekbdKeyboardConfig * kbd_config, GCallback func, diff --git a/libmatekbd/matekbd-status.c b/libmatekbd/matekbd-status.c index 3f6c613..dbd6ac2 100644 --- a/libmatekbd/matekbd-status.c +++ b/libmatekbd/matekbd-status.c @@ -826,6 +826,10 @@ matekbd_status_get_xkl_engine () return globals.engine; } +/** + * matekbd_status_get_group_names: + * Returns: (transfer none) (array zero-terminated=1): List of group names + */ gchar ** matekbd_status_get_group_names () { diff --git a/libmatekbd/matekbd-util.c b/libmatekbd/matekbd-util.c index 26f9967..a04a56f 100644 --- a/libmatekbd/matekbd-util.c +++ b/libmatekbd/matekbd-util.c @@ -54,6 +54,10 @@ const gchar MATEKBD_PREVIEW_CONFIG_KEY_Y[] = "y"; const gchar MATEKBD_PREVIEW_CONFIG_KEY_WIDTH[] = "width"; const gchar MATEKBD_PREVIEW_CONFIG_KEY_HEIGHT[] = "height"; +/** + * matekbd_preview_load_position: + * Returns: (transfer full): A rectangle to use + */ GdkRectangle * matekbd_preview_load_position (void) { -- cgit v1.2.1