[balsa/wip/gtk4] mime-widget-text: Adapt to controller api change



commit 26ceced9434efc76b85e9e358c4cfc0f8e762d61
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Mar 18 13:33:34 2019 -0400

    mime-widget-text: Adapt to controller api change
    
    The signature of the motion-controller's "leave" signal callback changed.

 src/balsa-mime-widget-text.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/src/balsa-mime-widget-text.c b/src/balsa-mime-widget-text.c
index 3640dc81c..41739300d 100644
--- a/src/balsa-mime-widget-text.c
+++ b/src/balsa-mime-widget-text.c
@@ -198,10 +198,12 @@ mwt_controller_motion_cb(GtkEventControllerMotion * motion,
 }
 
 static void
-mwt_controller_leave_cb(GtkEventControllerMotion * motion,
-                        gdouble                    x,
-                        gdouble                    y,
-                        gpointer                   user_data)
+mwt_controller_leave_cb(GtkEventController * motion,
+                        gdouble              x,
+                        gdouble              y,
+                        GdkCrossingMode      mode,
+                        GdkNotifyType        detail,
+                        gpointer             user_data)
 {
     BalsaMimeWidgetText *mwt = user_data;
 


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