From 74b4b12d8765fcfb24cffe446235e0df8abfedeb Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 17 Jan 2018 17:26:18 +0300 Subject: gvc-combo-box: fix signal arguments fixes runtime warning "g_cclosure_marshal_VOID__VOID: assertion 'n_param_values == 1' failed" --- mate-volume-control/gvc-combo-box.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mate-volume-control') diff --git a/mate-volume-control/gvc-combo-box.c b/mate-volume-control/gvc-combo-box.c index 5e38fd1..3fc71c6 100644 --- a/mate-volume-control/gvc-combo-box.c +++ b/mate-volume-control/gvc-combo-box.c @@ -281,7 +281,7 @@ gvc_combo_box_class_init (GvcComboBoxClass *klass) G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GvcComboBoxClass, changing), NULL, NULL, - g_cclosure_marshal_VOID__VOID, + g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, MATE_MIXER_TYPE_SWITCH_OPTION); @@ -294,8 +294,7 @@ gvc_combo_box_class_init (GvcComboBoxClass *klass) NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, - 0, - G_TYPE_NONE); + 0); g_type_class_add_private (klass, sizeof (GvcComboBoxPrivate)); } -- cgit v1.2.1