mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 14:31:10 +00:00
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:
parent
361a3885b5
commit
506b436f09
@ -297,11 +297,8 @@ _gtk_text_handle_ensure_widget (GtkTextHandle *handle,
|
|||||||
|
|
||||||
g_signal_connect (widget, "draw",
|
g_signal_connect (widget, "draw",
|
||||||
G_CALLBACK (gtk_text_handle_widget_draw), handle);
|
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, "event",
|
||||||
g_signal_connect (widget, "button-release-event", G_CALLBACK (gtk_text_handle_widget_event), handle);
|
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, "style-updated",
|
g_signal_connect (widget, "style-updated",
|
||||||
G_CALLBACK (gtk_text_handle_widget_style_updated),
|
G_CALLBACK (gtk_text_handle_widget_style_updated),
|
||||||
handle);
|
handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user