Drop gdk_keymap_get_for_display

It has been replaced by gdk_display_get_keymap.
This commit is contained in:
Matthias Clasen 2017-12-15 07:46:35 -05:00
parent e92c0e85ec
commit fa27d171d0
3 changed files with 0 additions and 23 deletions

View File

@ -471,8 +471,6 @@ gdk_threads_add_timeout_seconds_full
<FILE>keys</FILE>
GdkKeymap
GdkKeymapKey
gdk_keymap_get_default
gdk_keymap_get_for_display
gdk_keymap_lookup_key
gdk_keymap_translate_keyboard_state
gdk_keymap_get_entries_for_keyval

View File

@ -1458,24 +1458,6 @@ _gdk_display_create_window (GdkDisplay *display)
NULL);
}
/**
* gdk_keymap_get_for_display:
* @display: the #GdkDisplay.
*
* Returns the #GdkKeymap attached to @display.
*
* Returns: (transfer none): the #GdkKeymap attached to @display.
*
* Since: 2.2
*/
GdkKeymap*
gdk_keymap_get_for_display (GdkDisplay *display)
{
g_return_val_if_fail (GDK_IS_DISPLAY (display), NULL);
return GDK_DISPLAY_GET_CLASS (display)->get_keymap (display);
}
/**
* gdk_display_get_keymap:
* @display: the #GdkDisplay

View File

@ -80,9 +80,6 @@ struct _GdkKeymapKey
GDK_AVAILABLE_IN_ALL
GType gdk_keymap_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GdkKeymap* gdk_keymap_get_for_display (GdkDisplay *display);
GDK_AVAILABLE_IN_ALL
guint gdk_keymap_lookup_key (GdkKeymap *keymap,
const GdkKeymapKey *key);