[mutter/wayland] keybindings: Remove unused function
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] keybindings: Remove unused function
- Date: Wed, 16 Oct 2013 03:38:36 +0000 (UTC)
commit 15e83f0c2f47a72a2da0b21f54d5f41624029b09
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Oct 3 18:15:17 2013 -0400
keybindings: Remove unused function
doc/reference/meta-sections.txt | 1 -
src/core/keybindings.c | 22 ----------------------
src/meta/keybindings.h | 7 -------
3 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/doc/reference/meta-sections.txt b/doc/reference/meta-sections.txt
index de67466..08e8f7c 100644
--- a/doc/reference/meta-sections.txt
+++ b/doc/reference/meta-sections.txt
@@ -207,7 +207,6 @@ meta_key_binding_get_modifiers
meta_key_binding_get_mask
meta_key_binding_is_builtin
meta_keybindings_set_custom_handler
-meta_keybindings_switch_window
meta_screen_ungrab_all_keys
meta_screen_grab_all_keys
</SECTION>
diff --git a/src/core/keybindings.c b/src/core/keybindings.c
index 825021a..226278d 100644
--- a/src/core/keybindings.c
+++ b/src/core/keybindings.c
@@ -4168,28 +4168,6 @@ meta_keybindings_set_custom_handler (const gchar *name,
return TRUE;
}
-/**
- * meta_keybindings_switch_window: (skip)
- * @display: a #MetaDisplay
- * @screen: a #MetaScreen
- * @event_window: a #MetaWindow
- * @event: a #XIDeviceEvent
- * @binding: a #MetaKeyBinding
- *
- */
-void
-meta_keybindings_switch_window (MetaDisplay *display,
- MetaScreen *screen,
- MetaWindow *event_window,
- XIDeviceEvent *event,
- MetaKeyBinding *binding)
-{
- gint backwards = (binding->handler->flags & META_KEY_BINDING_IS_REVERSED) != 0;
-
- do_choose_window (display, screen, event_window, event, binding,
- backwards, FALSE);
-}
-
static void
init_builtin_key_bindings (MetaDisplay *display)
{
diff --git a/src/meta/keybindings.h b/src/meta/keybindings.h
index c7707cc..b896195 100644
--- a/src/meta/keybindings.h
+++ b/src/meta/keybindings.h
@@ -35,13 +35,6 @@ gboolean meta_keybindings_set_custom_handler (const gchar *name,
gpointer user_data,
GDestroyNotify free_data);
-void meta_keybindings_switch_window (MetaDisplay *display,
- MetaScreen *screen,
- MetaWindow *event_window,
- XIDeviceEvent *event,
- MetaKeyBinding *binding);
-
-
void meta_screen_ungrab_all_keys (MetaScreen *screen, guint32 timestamp);
gboolean meta_screen_grab_all_keys (MetaScreen *screen, guint32 timestamp);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]