mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-21 08:20:40 -05:00
mixer-ui-device: Make debug for port available useful
The debug output would print the same value twice, instead of showing the before and after values when setting the property.
This commit is contained in:
parent
c72e46fc44
commit
20b130c17f
@ -162,9 +162,9 @@ gvc_mixer_ui_device_set_property (GObject *object,
|
|||||||
self->priv->type == UIDeviceInput ? "input" : "output");
|
self->priv->type == UIDeviceInput ? "input" : "output");
|
||||||
break;
|
break;
|
||||||
case PROP_PORT_AVAILABLE:
|
case PROP_PORT_AVAILABLE:
|
||||||
self->priv->port_available = g_value_get_boolean (value);
|
g_debug ("gvc-mixer-output-set-property - old port available %i, value passed in %i",
|
||||||
g_debug ("gvc-mixer-output-set-property - port available %i, value passed in %i",
|
|
||||||
self->priv->port_available, g_value_get_boolean (value));
|
self->priv->port_available, g_value_get_boolean (value));
|
||||||
|
self->priv->port_available = g_value_get_boolean (value);
|
||||||
break;
|
break;
|
||||||
case PROP_ICON_NAME:
|
case PROP_ICON_NAME:
|
||||||
gvc_mixer_ui_device_set_icon_name (self, g_value_get_string (value));
|
gvc_mixer_ui_device_set_icon_name (self, g_value_get_string (value));
|
||||||
|
Loading…
Reference in New Issue
Block a user