Revert "treeviewcolumn: Stop using GtkWidget::event"

This reverts commit da74314779.

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

View File

@ -820,13 +820,7 @@ gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column)
priv->button = gtk_button_new (); priv->button = gtk_button_new ();
g_object_ref_sink (priv->button); g_object_ref_sink (priv->button);
g_signal_connect (priv->button, "button-press-event", g_signal_connect (priv->button, "event",
G_CALLBACK (gtk_tree_view_column_button_event),
tree_column);
g_signal_connect (priv->button, "button-release-event",
G_CALLBACK (gtk_tree_view_column_button_event),
tree_column);
g_signal_connect (priv->button, "leave-notify-event",
G_CALLBACK (gtk_tree_view_column_button_event), G_CALLBACK (gtk_tree_view_column_button_event),
tree_column); tree_column);
g_signal_connect (priv->button, "clicked", g_signal_connect (priv->button, "clicked",