[gtk/event-signal: 4/5] Drop some dead code
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/event-signal: 4/5] Drop some dead code
- Date: Sat, 23 Feb 2019 19:01:07 +0000 (UTC)
commit cd9c6da6ee88a97e019f5217493a09087dc56539
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]