summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-07-15 23:03:28 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-07-16 09:43:46 -0400
commitc642649311bd18b87528b60b6801051e8dfa47ee (patch)
tree59b7e1a11e833e6df890ddaa8886196987ef803f /gdk
parent882c805b53d1dcdd4f9b96099414dcf50b2f7cc3 (diff)
downloadgtk+-c642649311bd18b87528b60b6801051e8dfa47ee.tar.gz
gdk: Drop an unused function
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkkeys.c16
-rw-r--r--gdk/gdkkeysprivate.h2
2 files changed, 0 insertions, 18 deletions
diff --git a/gdk/gdkkeys.c b/gdk/gdkkeys.c
index b06fec2dc6..714d164c84 100644
--- a/gdk/gdkkeys.c
+++ b/gdk/gdkkeys.c
@@ -199,22 +199,6 @@ gdk_keymap_init (GdkKeymap *keymap)
keymap->cache = g_hash_table_new (g_direct_hash, g_direct_equal);
}
-/*< private >
- * gdk_keymap_get_display:
- * @keymap: a `GdkKeymap`
- *
- * Retrieves the `GdkDisplay` associated to the @keymap.
- *
- * Returns: (transfer none): a `GdkDisplay`
- */
-GdkDisplay *
-gdk_keymap_get_display (GdkKeymap *keymap)
-{
- g_return_val_if_fail (GDK_IS_KEYMAP (keymap), NULL);
-
- return keymap->display;
-}
-
/* Other key-handling stuff
*/
diff --git a/gdk/gdkkeysprivate.h b/gdk/gdkkeysprivate.h
index cc9b17aa9a..29d2fcd670 100644
--- a/gdk/gdkkeysprivate.h
+++ b/gdk/gdkkeysprivate.h
@@ -89,8 +89,6 @@ struct _GdkKeymap
GType gdk_keymap_get_type (void) G_GNUC_CONST;
-GdkDisplay * gdk_keymap_get_display (GdkKeymap *keymap);
-
guint gdk_keymap_lookup_key (GdkKeymap *keymap,
const GdkKeymapKey *key);
gboolean gdk_keymap_translate_keyboard_state (GdkKeymap *keymap,