[gtk+] treeview: Give up on GdkEvent api for now
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] treeview: Give up on GdkEvent api for now
- Date: Tue, 19 Sep 2017 17:18:41 +0000 (UTC)
commit 0ab20b62532e99d72b2e9ab279a780dcd29e9c18
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Aug 28 19:04:34 2017 -0400
treeview: Give up on GdkEvent api for now
There's multiple places where events are manually generated
here, this needs more thought.
gtk/gtktreeview.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index a6500d1..cc974a1 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -21,6 +21,9 @@
#include <math.h>
#include <string.h>
+#define GDK_COMPILATION
+#include "gdkeventsprivate.h"
+
#include "gtktreeview.h"
#include "gtkadjustmentprivate.h"
@@ -5792,7 +5795,6 @@ gtk_tree_view_key_press (GtkWidget *widget,
g_signal_handler_disconnect (tree_view->priv->search_entry,
popup_menu_id);
-
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]