Commit 114efa83 authored by Timm Bäder's avatar Timm Bäder 👎

widget: Stop adding a legacy event controller

The only event signal left is ::event and everything needing that
connects to it directly.
parent d15df65a
......@@ -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 ());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment