summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-12-15 07:46:35 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-12-15 07:46:35 -0500
commitfa27d171d01c308f342b165a8fd184b030495056 (patch)
tree649a2d22dc3f6d5cefbb542b855dcc492f1e699a /gdk
parente92c0e85ec28f4a7185706519acd0747fd36bedb (diff)
downloadgtk+-fa27d171d01c308f342b165a8fd184b030495056.tar.gz
Drop gdk_keymap_get_for_display
It has been replaced by gdk_display_get_keymap.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkdisplay.c18
-rw-r--r--gdk/gdkkeys.h3
2 files changed, 0 insertions, 21 deletions
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 35fce61b52..f5059a30ea 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1459,24 +1459,6 @@ _gdk_display_create_window (GdkDisplay *display)
}
/**
- * 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
*
diff --git a/gdk/gdkkeys.h b/gdk/gdkkeys.h
index d7906ae6c6..304c86e4e2 100644
--- a/gdk/gdkkeys.h
+++ b/gdk/gdkkeys.h
@@ -81,9 +81,6 @@ 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);
GDK_AVAILABLE_IN_ALL