[gtk+] Drop gdk_screen_get_setting
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop gdk_screen_get_setting
- Date: Mon, 30 Oct 2017 21:05:34 +0000 (UTC)
commit 154117218caaf18cc2cd9dfd6d712dbf7bb54c02
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 30 17:03:09 2017 -0400
Drop gdk_screen_get_setting
It has been replaced by gdk_display_get_setting.
docs/reference/gdk/gdk4-sections.txt | 1 -
gdk/gdkscreen.c | 25 -------------------------
gdk/gdkscreen.h | 5 -----
3 files changed, 0 insertions(+), 31 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index 869592d..1e06d87 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -177,7 +177,6 @@ gdk_screen_get_default
gdk_screen_get_root_window
gdk_screen_get_display
gdk_screen_get_toplevel_windows
-gdk_screen_get_setting
gdk_screen_get_resolution
gdk_screen_set_resolution
diff --git a/gdk/gdkscreen.c b/gdk/gdkscreen.c
index 9e25ac1..dae1c92 100644
--- a/gdk/gdkscreen.c
+++ b/gdk/gdkscreen.c
@@ -268,28 +268,3 @@ gdk_screen_get_root_window (GdkScreen *screen)
return GDK_SCREEN_GET_CLASS (screen)->get_root_window (screen);
}
-
-/**
- * gdk_screen_get_setting:
- * @screen: the #GdkScreen where the setting is located
- * @name: the name of the setting
- * @value: location to store the value of the setting
- *
- * Retrieves a desktop-wide setting such as double-click time
- * for the #GdkScreen @screen.
- *
- * FIXME needs a list of valid settings here, or a link to
- * more information.
- *
- * Returns: %TRUE if the setting existed and a value was stored
- * in @value, %FALSE otherwise.
- *
- * Since: 2.2
- **/
-gboolean
-gdk_screen_get_setting (GdkScreen *screen,
- const gchar *name,
- GValue *value)
-{
- return gdk_display_get_setting (gdk_screen_get_display (screen), name, value);
-}
diff --git a/gdk/gdkscreen.h b/gdk/gdkscreen.h
index 61e9e0e..e4592ea 100644
--- a/gdk/gdkscreen.h
+++ b/gdk/gdkscreen.h
@@ -51,11 +51,6 @@ GDK_AVAILABLE_IN_ALL
GdkScreen *gdk_screen_get_default (void);
GDK_AVAILABLE_IN_ALL
-gboolean gdk_screen_get_setting (GdkScreen *screen,
- const gchar *name,
- GValue *value);
-
-GDK_AVAILABLE_IN_ALL
void gdk_screen_set_resolution (GdkScreen *screen,
gdouble dpi);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]