diff options
author | infirit <[email protected]> | 2015-09-06 23:43:00 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-09 13:26:30 +0200 |
commit | 7e9ac348d296ecd48aaa738bc0841f6e62afa485 (patch) | |
tree | 21108ae0e9147e90d6268f8b774a8edef52eaf14 | |
parent | db5e643ab8520f8113fd9054f4c7e948fdb9e538 (diff) | |
download | libmatekbd-7e9ac348d296ecd48aaa738bc0841f6e62afa485.tar.bz2 libmatekbd-7e9ac348d296ecd48aaa738bc0841f6e62afa485.tar.xz |
Add annotation taken from libgnomekbd
-rw-r--r-- | libmatekbd/matekbd-desktop-config.c | 4 | ||||
-rw-r--r-- | libmatekbd/matekbd-indicator-config.c | 4 | ||||
-rw-r--r-- | libmatekbd/matekbd-indicator.c | 4 | ||||
-rw-r--r-- | libmatekbd/matekbd-keyboard-config.c | 4 | ||||
-rw-r--r-- | libmatekbd/matekbd-status.c | 4 | ||||
-rw-r--r-- | libmatekbd/matekbd-util.c | 4 |
6 files changed, 24 insertions, 0 deletions
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) { |