gdk: Drop an unused function

This commit is contained in:
Matthias Clasen 2022-07-15 23:03:28 -04:00
parent 882c805b53
commit c642649311
2 changed files with 0 additions and 18 deletions

View File

@ -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
*/

View File

@ -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,