[gnome-settings-daemon] keyboard: Remove handling of preview windows
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] keyboard: Remove handling of preview windows
- Date: Thu, 26 Apr 2012 18:39:23 +0000 (UTC)
commit fc74552590e887c7415043242d93ea943bcb1623
Author: Bastien Nocera <hadess hadess net>
Date: Thu Apr 26 18:06:02 2012 +0100
keyboard: Remove handling of preview windows
plugins/keyboard/gsd-keyboard-xkb.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/plugins/keyboard/gsd-keyboard-xkb.c b/plugins/keyboard/gsd-keyboard-xkb.c
index 5144613..97eabbc 100644
--- a/plugins/keyboard/gsd-keyboard-xkb.c
+++ b/plugins/keyboard/gsd-keyboard-xkb.c
@@ -56,8 +56,6 @@ static GSettings *settings_keyboard = NULL;
static GtkStatusIcon *icon = NULL;
-static GHashTable *preview_dialogs = NULL;
-
static void
activation_error (void)
{
@@ -154,12 +152,6 @@ popup_menu_launch_capplet ()
}
static void
-show_layout_destroy (GtkWidget * dialog, gint group)
-{
- g_hash_table_remove (preview_dialogs, GINT_TO_POINTER (group));
-}
-
-static void
popup_menu_show_layout ()
{
XklState *xkl_state;
@@ -458,8 +450,6 @@ gsd_keyboard_xkb_init (GsdKeyboardManager * kbd_manager)
apply_xkb_settings ();
gnome_settings_profile_end ("apply_xkb_settings");
- preview_dialogs = g_hash_table_new (g_direct_hash, g_direct_equal);
-
gnome_settings_profile_end (NULL);
}
@@ -471,9 +461,6 @@ gsd_keyboard_xkb_shutdown (void)
manager = NULL;
- if (preview_dialogs != NULL)
- g_hash_table_destroy (preview_dialogs);
-
xkl_engine_stop_listen (xkl_engine,
XKLL_MANAGE_LAYOUTS |
XKLL_MANAGE_WINDOW_STATES);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]