keybindings: Remove #if 0'd code

There's no reason to keep this ~15 year old piece of code around as
well as the preference handling that would only make sense if this
hunk was actually enabled.

https://bugzilla.gnome.org/show_bug.cgi?id=746642
This commit is contained in:
Rui Matos
2016-11-21 16:41:35 +01:00
parent d9a9844005
commit 0249993377
2 changed files with 1 additions and 32 deletions

View File

@@ -2719,22 +2719,7 @@ prefs_changed_callback (MetaPreference pref,
{
MetaDisplay *display = data;
if (pref == META_PREF_FOCUS_MODE)
{
GSList *windows, *l;
windows = meta_display_list_windows (display, META_LIST_DEFAULT);
for (l = windows; l; l = l->next)
{
MetaWindow *w = l->data;
meta_display_ungrab_focus_window_button (display, w);
if (w->type != META_WINDOW_DOCK)
meta_display_grab_focus_window_button (display, w);
}
g_slist_free (windows);
}
else if (pref == META_PREF_AUDIBLE_BELL)
if (pref == META_PREF_AUDIBLE_BELL)
{
meta_bell_set_audible (display, meta_prefs_bell_is_audible ());
}