[gtk+/wip/ricotz/deprecated] gdk: Remove deprecated gdk_get_display
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/ricotz/deprecated] gdk: Remove deprecated gdk_get_display
- Date: Mon, 24 Oct 2016 08:26:29 +0000 (UTC)
commit 6036d12efa28380823ef94c7e0c0e43382e7fc1a
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Oct 24 10:21:49 2016 +0200
gdk: Remove deprecated gdk_get_display
docs/reference/gdk/gdk4-sections.txt | 3 ---
gdk/gdk.c | 18 ------------------
gdk/gdkmain.h | 3 ---
3 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index ff89f8b..2944ca3 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -17,9 +17,6 @@ gdk_get_program_class
gdk_set_program_class
<SUBSECTION>
-gdk_get_display
-
-<SUBSECTION>
gdk_flush
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 22d7841..e7e1b3c 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -402,24 +402,6 @@ gdk_parse_args (int *argc,
}
/**
- * gdk_get_display:
- *
- * Gets the name of the display, which usually comes from the
- * `DISPLAY` environment variable or the
- * `--display` command line option.
- *
- * Returns: the name of the display.
- *
- * Deprecated: 3.8: Call gdk_display_get_name (gdk_display_get_default ()))
- * instead.
- */
-gchar *
-gdk_get_display (void)
-{
- return g_strdup (gdk_display_get_name (gdk_display_get_default ()));
-}
-
-/**
* gdk_get_display_arg_name:
*
* Gets the display name specified in the command line arguments passed
diff --git a/gdk/gdkmain.h b/gdk/gdkmain.h
index 74e9951..e39dc4a 100644
--- a/gdk/gdkmain.h
+++ b/gdk/gdkmain.h
@@ -78,9 +78,6 @@ void gdk_error_trap_pop_ignored (void);
GDK_AVAILABLE_IN_ALL
const gchar * gdk_get_display_arg_name (void);
-GDK_DEPRECATED_IN_3_8_FOR(gdk_display_get_name (gdk_display_get_default ()))
-gchar* gdk_get_display (void);
-
GDK_AVAILABLE_IN_ALL
void gdk_set_double_click_time (guint msec);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]