[gtk/prop-list: 3/96] listitemwidget: Fix single-click-activate



commit 0a36ba0611936cf6e3532c5c052656e55656600b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Dec 21 20:47:42 2019 -0500

    listitemwidget: Fix single-click-activate
    
    This was broken by the renaming of ::contains-pointer-focus
    to ::contains-pointer. Fix it up.

 gtk/gtklistitemwidget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtklistitemwidget.c b/gtk/gtklistitemwidget.c
index 4933f90a9a..a35e132d14 100644
--- a/gtk/gtklistitemwidget.c
+++ b/gtk/gtklistitemwidget.c
@@ -442,7 +442,7 @@ gtk_list_item_widget_init (GtkListItemWidget *self)
   gtk_widget_add_controller (GTK_WIDGET (self), controller);
 
   controller = gtk_event_controller_motion_new ();
-  g_signal_connect (controller, "notify::contains-pointer-focus", G_CALLBACK 
(gtk_list_item_widget_hover_changed_cb), self);
+  g_signal_connect (controller, "notify::contains-pointer", G_CALLBACK 
(gtk_list_item_widget_hover_changed_cb), self);
   gtk_widget_add_controller (GTK_WIDGET (self), controller);
 }
 


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