--- a/gntutils.h Sat Apr 20 22:51:41 2019 -0400
+++ b/gntutils.h Sat Apr 20 22:54:00 2019 -0400
@@ -107,8 +107,15 @@
* To be used with g_signal_new. Look in the key_pressed signal-definition in
+ * Deprecated: 2.14.0: Use g_signal_accumulator_true_handled() instead. -gboolean gnt_boolean_handled_accumulator(GSignalInvocationHint *ihint, GValue *return_accu, const GValue *handler_return, gpointer dummy);
+#ifndef GNT_DISABLE_DEPRECATED +gboolean gnt_boolean_handled_accumulator(GSignalInvocationHint *ihint, + const GValue *handler_return, + gpointer dummy) G_GNUC_DEPRECATED; * gnt_widget_bindings_view:
--- a/gntwidget.c Sat Apr 20 22:51:41 2019 -0400
+++ b/gntwidget.c Sat Apr 20 22:54:00 2019 -0400
@@ -240,7 +240,7 @@
G_TYPE_FROM_CLASS(klass),
G_STRUCT_OFFSET(GntWidgetClass, key_pressed),
- gnt_boolean_handled_accumulator, NULL,
+ g_signal_accumulator_true_handled, NULL, gnt_closure_marshal_BOOLEAN__STRING,
G_TYPE_BOOLEAN, 1, G_TYPE_STRING);
@@ -249,7 +249,7 @@
G_TYPE_FROM_CLASS(klass),
G_STRUCT_OFFSET(GntWidgetClass, clicked),
- gnt_boolean_handled_accumulator, NULL,
+ g_signal_accumulator_true_handled, NULL, gnt_closure_marshal_BOOLEAN__INT_INT_INT,
G_TYPE_BOOLEAN, 3, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT);
@@ -258,7 +258,7 @@
G_TYPE_FROM_CLASS(klass),
- gnt_boolean_handled_accumulator, NULL,
+ g_signal_accumulator_true_handled, NULL, gnt_closure_marshal_BOOLEAN__VOID,
--- a/gntwm.c Sat Apr 20 22:51:41 2019 -0400
+++ b/gntwm.c Sat Apr 20 22:54:00 2019 -0400
@@ -1444,7 +1444,7 @@
G_TYPE_FROM_CLASS(klass),
G_STRUCT_OFFSET(GntWMClass, window_resize_confirm),
- gnt_boolean_handled_accumulator, NULL,
+ g_signal_accumulator_true_handled, NULL, gnt_closure_marshal_BOOLEAN__POINTER_POINTER_POINTER,
G_TYPE_BOOLEAN, 3, G_TYPE_POINTER, G_TYPE_POINTER, G_TYPE_POINTER);
@@ -1453,7 +1453,7 @@
G_TYPE_FROM_CLASS(klass),
G_STRUCT_OFFSET(GntWMClass, window_move_confirm),
- gnt_boolean_handled_accumulator, NULL,
+ g_signal_accumulator_true_handled, NULL, gnt_closure_marshal_BOOLEAN__POINTER_POINTER_POINTER,
G_TYPE_BOOLEAN, 3, G_TYPE_POINTER, G_TYPE_POINTER, G_TYPE_POINTER);
@@ -1496,7 +1496,7 @@
G_TYPE_FROM_CLASS(klass),
G_STRUCT_OFFSET(GntWMClass, mouse_clicked),
- gnt_boolean_handled_accumulator, NULL,
+ g_signal_accumulator_true_handled, NULL, gnt_closure_marshal_BOOLEAN__INT_INT_INT_POINTER,
G_TYPE_BOOLEAN, 4, G_TYPE_INT, G_TYPE_INT, G_TYPE_INT, G_TYPE_POINTER);