[gtk+] Remove deprecated gdk_display_open_default_libgtk_only



commit e0b1f2e5f4a8bc95be90abe75830607739fcff83
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Wed Oct 26 10:06:23 2016 +0200

    Remove deprecated gdk_display_open_default_libgtk_only

 docs/reference/gdk/gdk4-sections.txt |    1 -
 gdk/gdk.c                            |   21 ---------------------
 gdk/gdkdisplay.h                     |    3 ---
 3 files changed, 0 insertions(+), 25 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index f5b3c6d..2e87b97 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -146,7 +146,6 @@ GDK_IS_DISPLAY_CLASS
 GDK_DISPLAY_GET_CLASS
 
 <SUBSECTION Private>
-gdk_display_open_default_libgtk_only
 gdk_display_get_type
 GdkDisplayClass
 </SECTION>
diff --git a/gdk/gdk.c b/gdk/gdk.c
index ae6ffeb..050dfe6 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -420,27 +420,6 @@ gdk_display_open_default (void)
 }
 
 /**
- * gdk_display_open_default_libgtk_only:
- *
- * Opens the default display specified by command line arguments or
- * environment variables, sets it as the default display, and returns
- * it. gdk_parse_args() must have been called first. If the default
- * display has previously been set, simply returns that. An internal
- * function that should not be used by applications.
- *
- * Returns: (nullable) (transfer none): the default display, if it
- *   could be opened, otherwise %NULL.
- *
- * Deprecated: 3.16: This symbol was never meant to be used outside
- *   of GTK+
- */
-GdkDisplay *
-gdk_display_open_default_libgtk_only (void)
-{
-  return gdk_display_open_default ();
-}
-
-/**
  * gdk_init_check:
  * @argc: (inout): the number of command line arguments.
  * @argv: (array length=argc) (inout): the array of command line arguments.
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h
index a470294..a855d41 100644
--- a/gdk/gdkdisplay.h
+++ b/gdk/gdkdisplay.h
@@ -85,9 +85,6 @@ void gdk_display_set_double_click_distance (GdkDisplay   *display,
 GDK_AVAILABLE_IN_ALL
 GdkDisplay *gdk_display_get_default (void);
 
-GDK_DEPRECATED_IN_3_16
-GdkDisplay *gdk_display_open_default_libgtk_only (void);
-
 GDK_AVAILABLE_IN_ALL
 gboolean gdk_display_supports_cursor_alpha     (GdkDisplay    *display);
 GDK_AVAILABLE_IN_ALL


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]