diff options
author | monsta <[email protected]> | 2018-01-17 17:26:18 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2018-01-17 17:26:18 +0300 |
commit | 74b4b12d8765fcfb24cffe446235e0df8abfedeb (patch) | |
tree | 0bda4dc29b24406870312b7f160baef1488f63c5 /mate-volume-control | |
parent | 11407b54515f8bbf29fae7168f14a93be4b0155c (diff) | |
download | mate-media-74b4b12d8765fcfb24cffe446235e0df8abfedeb.tar.bz2 mate-media-74b4b12d8765fcfb24cffe446235e0df8abfedeb.tar.xz |
gvc-combo-box: fix signal arguments
fixes runtime warning "g_cclosure_marshal_VOID__VOID: assertion 'n_param_values == 1' failed"
Diffstat (limited to 'mate-volume-control')
-rw-r--r-- | mate-volume-control/gvc-combo-box.c | 5 |
1 files changed, 2 insertions, 3 deletions
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)); } |