[gtk] widget: Stop adding a legacy event controller
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] widget: Stop adding a legacy event controller
- Date: Thu, 11 Oct 2018 10:38:11 +0000 (UTC)
commit 114efa83c6c265d93f04ee3ccb4d9c7c2038442c
Author: Timm Bäder <mail baedert org>
Date: Mon Oct 8 18:05:56 2018 +0200
widget: Stop adding a legacy event controller
The only event signal left is ::event and everything needing that
connects to it directly.
gtk/gtkwidget.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 60c8239253..3044231eab 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -41,7 +41,6 @@
#include "gtkcssstylepropertyprivate.h"
#include "gtkcsswidgetnodeprivate.h"
#include "gtkdebug.h"
-#include "gtkeventcontrollerlegacyprivate.h"
#include "gtkgesturedrag.h"
#include "gtkgestureprivate.h"
#include "gtkgesturesingle.h"
@@ -2878,8 +2877,6 @@ gtk_widget_init (GTypeInstance *instance, gpointer g_class)
gtk_css_node_set_visible (priv->cssnode, priv->visible);
/* need to set correct type here, and only class has the correct type here */
gtk_css_node_set_widget_type (priv->cssnode, G_TYPE_FROM_CLASS (g_class));
-
- gtk_widget_add_controller (widget, gtk_event_controller_legacy_new ());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]