[gtk/keymap-rework-2: 5/12] display: Remove gdk_display_get_modifier_mask
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/keymap-rework-2: 5/12] display: Remove gdk_display_get_modifier_mask
- Date: Mon, 6 Apr 2020 20:33:05 +0000 (UTC)
commit 99a344f791436f529cd54a2412852fec3f5c200e
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 5 20:37:32 2020 -0400
display: Remove gdk_display_get_modifier_mask
This is not used anymore.
gdk/gdkdisplay.c | 7 -------
gdk/gdkdisplay.h | 4 ----
2 files changed, 11 deletions(-)
---
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index 8155b01e0b..4e209672fc 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -1712,13 +1712,6 @@ gdk_display_set_cursor_theme (GdkDisplay *display,
GDK_DISPLAY_GET_CLASS (display)->set_cursor_theme (display, name, size);
}
-GdkModifierType
-gdk_display_get_modifier_mask (GdkDisplay *display,
- GdkModifierIntent intent)
-{
- return gdk_keymap_get_modifier_mask (gdk_display_get_keymap (display), intent);
-}
-
/**
* gdk_display_map_keyval:
* @display: a #GdkDisplay
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index cdd7012aa2..bb421f405d 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -115,10 +115,6 @@ GDK_AVAILABLE_IN_ALL
GdkMonitor * gdk_display_get_monitor_at_surface (GdkDisplay *display,
GdkSurface *surface);
-GDK_AVAILABLE_IN_ALL
-GdkModifierType gdk_display_get_modifier_mask (GdkDisplay *display,
- GdkModifierIntent intent);
-
GDK_AVAILABLE_IN_ALL
gboolean gdk_display_map_keyval (GdkDisplay *display,
guint keyval,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]