[gtk/event-signal: 3/4] Drop some dead code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/event-signal: 3/4] Drop some dead code
- Date: Sat, 23 Feb 2019 19:14:49 +0000 (UTC)
commit 08badd23cdc4caba971713e5cd3652030a3cfd66
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 23 13:56:07 2019 -0500
Drop some dead code
There were some internal uses of GdkEventFunc. Thankfully,
they were unused, so lets just drop them.
gdk/gdk.c | 8 --------
gdk/x11/gdkmain-x11.c | 8 --------
2 files changed, 16 deletions(-)
---
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 6954ef772e..257e94b21d 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -108,14 +108,6 @@
* of deprecated GDK APIs.
*/
-typedef struct _GdkPredicate GdkPredicate;
-
-struct _GdkPredicate
-{
- GdkEventFunc func;
- gpointer data;
-};
-
typedef struct _GdkThreadsDispatch GdkThreadsDispatch;
struct _GdkThreadsDispatch
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c
index cce0cbb7d8..5082e05ff3 100644
--- a/gdk/x11/gdkmain-x11.c
+++ b/gdk/x11/gdkmain-x11.c
@@ -78,14 +78,6 @@
* ]|
*/
-typedef struct _GdkPredicate GdkPredicate;
-
-struct _GdkPredicate
-{
- GdkEventFunc func;
- gpointer data;
-};
-
/* non-GDK previous error handler */
typedef int (*GdkXErrorHandler) (Display *, XErrorEvent *);
static GdkXErrorHandler _gdk_old_error_handler;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]