summaryrefslogtreecommitdiff
path: root/gdk
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
parenta5ba92830e4308f44b333c1b0c9ad62c806ec1e6 (diff)
downloadgtk+-feb870add3161f9c43b270fefd261654f9cf5b6f.tar.gz
Drop gdk_screen_get_default
This function is not used anymore.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkdisplaymanager.c24
-rw-r--r--gdk/gdkscreen.h3
2 files changed, 0 insertions, 27 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
diff --git a/gdk/gdkscreen.h b/gdk/gdkscreen.h
index 26b89a52c9..07dac9af56 100644
--- a/gdk/gdkscreen.h
+++ b/gdk/gdkscreen.h
@@ -44,9 +44,6 @@ GType gdk_screen_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GdkDisplay * gdk_screen_get_display (GdkScreen *screen);
-GDK_AVAILABLE_IN_ALL
-GdkScreen *gdk_screen_get_default (void);
-
G_END_DECLS
#endif /* __GDK_SCREEN_H__ */