Revert "text handler: Stop using GtkWidget::event"

This reverts commit 74f563b501.

Turns out we'll keep ::event, so this was misguided.
This commit is contained in:
Matthias Clasen 2017-12-31 09:31:02 -05:00
parent 361a3885b5
commit 506b436f09

View File

@ -297,11 +297,8 @@ _gtk_text_handle_ensure_widget (GtkTextHandle *handle,
g_signal_connect (widget, "draw",
G_CALLBACK (gtk_text_handle_widget_draw), handle);
g_signal_connect (widget, "button-press-event", G_CALLBACK (gtk_text_handle_widget_event), handle);
g_signal_connect (widget, "button-release-event", G_CALLBACK (gtk_text_handle_widget_event), handle);
g_signal_connect (widget, "enter-notify-event", G_CALLBACK (gtk_text_handle_widget_event), handle);
g_signal_connect (widget, "leave-notify-event", G_CALLBACK (gtk_text_handle_widget_event), handle);
g_signal_connect (widget, "motion-notify-event", G_CALLBACK (gtk_text_handle_widget_event), handle);
g_signal_connect (widget, "event",
G_CALLBACK (gtk_text_handle_widget_event), handle);
g_signal_connect (widget, "style-updated",
G_CALLBACK (gtk_text_handle_widget_style_updated),
handle);