[Xfce4-commits] [apps/xfce4-screensaver] 335/425: Tidy up xfcekbd-desktop-config.{c, h}
noreply at xfce.org
noreply at xfce.org
Mon Oct 15 01:53:02 CEST 2018
This is an automated email from the git hooks/post-receive script.
b l u e s a b r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-screensaver.
commit f8ca8886403c038bdc85e85030a3f139ead8a649
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Mon Oct 1 21:27:58 2018 -0400
Tidy up xfcekbd-desktop-config.{c,h}
---
src/xfcekbd-desktop-config.c | 38 --------------------------------------
src/xfcekbd-desktop-config.h | 7 -------
2 files changed, 45 deletions(-)
diff --git a/src/xfcekbd-desktop-config.c b/src/xfcekbd-desktop-config.c
index f92abcd..d4e4c08 100644
--- a/src/xfcekbd-desktop-config.c
+++ b/src/xfcekbd-desktop-config.c
@@ -179,30 +179,6 @@ xfcekbd_desktop_config_load_from_gsettings (XfcekbdDesktopConfig * config)
xkl_debug (150, "default_group: %d\n", config->default_group);
}
-void
-xfcekbd_desktop_config_save_to_gsettings (XfcekbdDesktopConfig * config)
-{
- g_settings_delay (config->settings);
-
- g_settings_set_boolean (config->settings,
- XFCEKBD_DESKTOP_CONFIG_KEY_GROUP_PER_WINDOW,
- config->group_per_app);
- g_settings_set_boolean (config->settings,
- XFCEKBD_DESKTOP_CONFIG_KEY_HANDLE_INDICATORS,
- config->handle_indicators);
- g_settings_set_boolean (config->settings,
- XFCEKBD_DESKTOP_CONFIG_KEY_LAYOUT_NAMES_AS_GROUP_NAMES,
- config->layout_names_as_group_names);
- g_settings_set_boolean (config->settings,
- XFCEKBD_DESKTOP_CONFIG_KEY_LOAD_EXTRA_ITEMS,
- config->load_extra_items);
- g_settings_set_int (config->settings,
- XFCEKBD_DESKTOP_CONFIG_KEY_DEFAULT_GROUP,
- config->default_group);
-
- g_settings_apply (config->settings);
-}
-
gboolean
xfcekbd_desktop_config_activate (XfcekbdDesktopConfig * config)
{
@@ -225,20 +201,6 @@ xfcekbd_desktop_config_lock_next_group (XfcekbdDesktopConfig * config)
xkl_engine_lock_group (config->engine, group);
}
-void
-xfcekbd_desktop_config_lock_prev_group (XfcekbdDesktopConfig * config)
-{
- int group = xkl_engine_get_prev_group (config->engine);
- xkl_engine_lock_group (config->engine, group);
-}
-
-void
-xfcekbd_desktop_config_restore_group (XfcekbdDesktopConfig * config)
-{
- int group = xkl_engine_get_current_window_group (config->engine);
- xkl_engine_lock_group (config->engine, group);
-}
-
/**
* xfcekbd_desktop_config_start_listen:
* @func: (scope notified): a function to call when settings are changed
diff --git a/src/xfcekbd-desktop-config.h b/src/xfcekbd-desktop-config.h
index 8753991..0845cac 100644
--- a/src/xfcekbd-desktop-config.h
+++ b/src/xfcekbd-desktop-config.h
@@ -57,8 +57,6 @@ extern void xfcekbd_desktop_config_term (XfcekbdDesktopConfig * config);
extern void xfcekbd_desktop_config_load_from_gsettings (XfcekbdDesktopConfig *
config);
-extern void xfcekbd_desktop_config_save_to_gsettings (XfcekbdDesktopConfig * config);
-
extern gboolean xfcekbd_desktop_config_activate (XfcekbdDesktopConfig * config);
extern gboolean
@@ -77,11 +75,6 @@ xfcekbd_desktop_config_load_group_descriptions (XfcekbdDesktopConfig
extern void xfcekbd_desktop_config_lock_next_group (XfcekbdDesktopConfig *
config);
-extern void xfcekbd_desktop_config_lock_prev_group (XfcekbdDesktopConfig *
- config);
-
-extern void xfcekbd_desktop_config_restore_group (XfcekbdDesktopConfig * config);
-
extern void xfcekbd_desktop_config_start_listen (XfcekbdDesktopConfig * config,
GCallback func,
gpointer user_data);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list