[gtk+] Drop gdk_beep
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop gdk_beep
- Date: Fri, 17 Nov 2017 03:20:48 +0000 (UTC)
commit baf40d35c55295c8c0b2ae467bbdf76817e378ae
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Nov 16 22:10:26 2017 -0500
Drop gdk_beep
This is an unnecessary wrapper around gdk_display_beep.
docs/reference/gdk/gdk4-sections.txt | 3 ---
gdk/gdkdisplay.c | 11 -----------
gdk/gdkmain.h | 3 ---
3 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index d7edb92..a407558 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -19,9 +19,6 @@ gdk_flush
GdkGrabStatus
<SUBSECTION>
-gdk_beep
-
-<SUBSECTION>
gdk_error_trap_push
gdk_error_trap_pop
gdk_error_trap_pop_ignored
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
index bc6a5ef..7a5440d 100644
--- a/gdk/gdkdisplay.c
+++ b/gdk/gdkdisplay.c
@@ -571,17 +571,6 @@ gdk_display_put_event (GdkDisplay *display,
}
/**
- * gdk_beep:
- *
- * Emits a short beep on the default display.
- **/
-void
-gdk_beep (void)
-{
- gdk_display_beep (gdk_display_get_default ());
-}
-
-/**
* gdk_flush:
*
* Flushes the output buffers of all display connections and waits
diff --git a/gdk/gdkmain.h b/gdk/gdkmain.h
index fc600ed..2053767 100644
--- a/gdk/gdkmain.h
+++ b/gdk/gdkmain.h
@@ -61,9 +61,6 @@ GDK_AVAILABLE_IN_ALL
void gdk_error_trap_pop_ignored (void);
GDK_AVAILABLE_IN_ALL
-void gdk_beep (void);
-
-GDK_AVAILABLE_IN_ALL
void gdk_flush (void);
GDK_AVAILABLE_IN_ALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]