summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/reference/gdk/gdk4-sections.txt3
-rw-r--r--gdk/gdkevents.c18
-rw-r--r--gdk/gdkevents.h4
3 files changed, 0 insertions, 25 deletions
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 3939f6c341..869592dba9 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -809,9 +809,6 @@ gdk_event_set_source_device
gdk_event_get_device_tool
gdk_event_set_device_tool
-<SUBSECTION>
-gdk_setting_get
-
<SUBSECTION Standard>
GDK_TYPE_EVENT_MASK
GDK_TYPE_EVENT_TYPE
diff --git a/gdk/gdkevents.c b/gdk/gdkevents.c
index 139ff481d1..466ab54829 100644
--- a/gdk/gdkevents.c
+++ b/gdk/gdkevents.c
@@ -2319,24 +2319,6 @@ G_DEFINE_BOXED_TYPE (GdkEventSequence, gdk_event_sequence,
gdk_event_sequence_free)
/**
- * gdk_setting_get:
- * @name: the name of the setting.
- * @value: location to store the value of the setting.
- *
- * Obtains a desktop-wide setting, such as the double-click time,
- * for the default screen. See gdk_screen_get_setting().
- *
- * Returns: %TRUE if the setting existed and a value was stored
- * in @value, %FALSE otherwise.
- **/
-gboolean
-gdk_setting_get (const gchar *name,
- GValue *value)
-{
- return gdk_screen_get_setting (gdk_screen_get_default (), name, value);
-}
-
-/**
* gdk_event_get_event_type:
* @event: a #GdkEvent
*
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h
index 448a542b88..41e8ff2d12 100644
--- a/gdk/gdkevents.h
+++ b/gdk/gdkevents.h
@@ -687,10 +687,6 @@ void gdk_set_show_events (gboolean show_events);
GDK_AVAILABLE_IN_ALL
gboolean gdk_get_show_events (void);
-GDK_AVAILABLE_IN_ALL
-gboolean gdk_setting_get (const gchar *name,
- GValue *value);
-
GDK_AVAILABLE_IN_3_22
GdkDeviceTool *gdk_event_get_device_tool (const GdkEvent *event);