[gtk+/wip/matthiasc/kill-event-signals: 4/62] Revert "treeviewcolumn: Stop using GtkWidget::event"



commit 4aeb2efbf40b98685264e6b8f21ff8ff9857d266
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Dec 31 09:31:11 2017 -0500

    Revert "treeviewcolumn: Stop using GtkWidget::event"
    
    This reverts commit da74314779ec155e06d370fd2f3f73f3948b1311.

 gtk/gtktreeviewcolumn.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index 8d01394..3186c7f 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -820,13 +820,7 @@ gtk_tree_view_column_create_button (GtkTreeViewColumn *tree_column)
   priv->button = gtk_button_new ();
   g_object_ref_sink (priv->button);
 
-  g_signal_connect (priv->button, "button-press-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_signal_connect (priv->button, "event",
                    G_CALLBACK (gtk_tree_view_column_button_event),
                    tree_column);
   g_signal_connect (priv->button, "clicked",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]