[Xfce4-commits] [apps/xfce4-screensaver] 334/425: Tidy up xfcekbd-indicator-config.{c, h}
noreply at xfce.org
noreply at xfce.org
Mon Oct 15 01:53:01 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 950143c8fff51c2cbc5ebf0de9d3cf32795b36d8
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Mon Oct 1 21:24:28 2018 -0400
Tidy up xfcekbd-indicator-config.{c,h}
---
src/xfcekbd-indicator-config.c | 27 +--------------------------
src/xfcekbd-indicator-config.h | 10 ----------
2 files changed, 1 insertion(+), 36 deletions(-)
diff --git a/src/xfcekbd-indicator-config.c b/src/xfcekbd-indicator-config.c
index 0ab8d6e..8200eba 100644
--- a/src/xfcekbd-indicator-config.c
+++ b/src/xfcekbd-indicator-config.c
@@ -129,17 +129,7 @@ xfcekbd_indicator_config_load_colors (XfcekbdIndicatorConfig * ind_config)
XFCEKBD_INDICATOR_CONFIG_KEY_BACKGROUND_COLOR);
}
-void
-xfcekbd_indicator_config_refresh_style (XfcekbdIndicatorConfig * ind_config)
-{
- g_free (ind_config->font_family);
- g_free (ind_config->foreground_color);
- g_free (ind_config->background_color);
- xfcekbd_indicator_config_load_font (ind_config);
- xfcekbd_indicator_config_load_colors (ind_config);
-}
-
-gchar *
+static gchar *
xfcekbd_indicator_config_get_images_file (XfcekbdIndicatorConfig *
ind_config,
XfcekbdKeyboardConfig *
@@ -296,21 +286,6 @@ xfcekbd_indicator_config_load_from_gsettings (XfcekbdIndicatorConfig * ind_confi
}
void
-xfcekbd_indicator_config_save_to_gsettings (XfcekbdIndicatorConfig * ind_config)
-{
- g_settings_delay (ind_config->settings);
-
- g_settings_set_int (ind_config->settings,
- XFCEKBD_INDICATOR_CONFIG_KEY_SECONDARIES,
- ind_config->secondary_groups_mask);
- g_settings_set_boolean (ind_config->settings,
- XFCEKBD_INDICATOR_CONFIG_KEY_SHOW_FLAGS,
- ind_config->show_flags);
-
- g_settings_apply (ind_config->settings);
-}
-
-void
xfcekbd_indicator_config_activate (XfcekbdIndicatorConfig * ind_config)
{
xkl_engine_set_secondary_groups_mask (ind_config->engine,
diff --git a/src/xfcekbd-indicator-config.h b/src/xfcekbd-indicator-config.h
index 29284a7..fc9bb12 100644
--- a/src/xfcekbd-indicator-config.h
+++ b/src/xfcekbd-indicator-config.h
@@ -57,16 +57,6 @@ void xfcekbd_indicator_config_term (XfcekbdIndicatorConfig *
void xfcekbd_indicator_config_load_from_gsettings (XfcekbdIndicatorConfig
* applet_config);
-void xfcekbd_indicator_config_save_to_gsettings (XfcekbdIndicatorConfig *
- applet_config);
-
-void xfcekbd_indicator_config_refresh_style (XfcekbdIndicatorConfig *
- applet_config);
-
-gchar* xfcekbd_indicator_config_get_images_file (XfcekbdIndicatorConfig *
- applet_config,
- XfcekbdKeyboardConfig *
- kbd_config, int group);
void xfcekbd_indicator_config_load_image_filenames (XfcekbdIndicatorConfig
* applet_config,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list