summaryrefslogtreecommitdiff
path: root/gdk/gdkdisplaymanager.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-11-01 18:16:05 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-11-01 19:44:28 -0400
commitfeb870add3161f9c43b270fefd261654f9cf5b6f (patch)
tree81520da2b0a1a391fd90e967c2b8637ce8638155 /gdk/gdkdisplaymanager.c
parenta5ba92830e4308f44b333c1b0c9ad62c806ec1e6 (diff)
downloadgtk+-feb870add3161f9c43b270fefd261654f9cf5b6f.tar.gz
Drop gdk_screen_get_default
This function is not used anymore.
Diffstat (limited to 'gdk/gdkdisplaymanager.c')
-rw-r--r--gdk/gdkdisplaymanager.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/gdk/gdkdisplaymanager.c b/gdk/gdkdisplaymanager.c
index a21aa6766d..6d328d8b41 100644
--- a/gdk/gdkdisplaymanager.c
+++ b/gdk/gdkdisplaymanager.c
@@ -349,30 +349,6 @@ gdk_display_get_default (void)
}
/**
- * gdk_screen_get_default:
- *
- * Gets the default screen for the default display. (See
- * gdk_display_get_default ()).
- *
- * Returns: (nullable) (transfer none): a #GdkScreen, or %NULL if
- * there is no default display.
- *
- * Since: 2.2
- */
-GdkScreen *
-gdk_screen_get_default (void)
-{
- GdkDisplay *display;
-
- display = gdk_display_get_default ();
-
- if (display)
- return GDK_DISPLAY_GET_CLASS (display)->get_default_screen (display);
- else
- return NULL;
-}
-
-/**
* gdk_display_manager_set_default_display:
* @manager: a #GdkDisplayManager
* @display: a #GdkDisplay