mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-23 01:10:40 -05:00
mixer-ui-device: Add debug for device type and icon name
This commit is contained in:
parent
dbfbacc957
commit
c72e46fc44
@ -158,6 +158,8 @@ gvc_mixer_ui_device_set_property (GObject *object,
|
||||
break;
|
||||
case PROP_UI_DEVICE_TYPE:
|
||||
self->priv->type = (GvcMixerUIDeviceDirection) g_value_get_uint (value);
|
||||
g_debug ("gvc-mixer-output-set-property - device type: %s",
|
||||
self->priv->type == UIDeviceInput ? "input" : "output");
|
||||
break;
|
||||
case PROP_PORT_AVAILABLE:
|
||||
self->priv->port_available = g_value_get_boolean (value);
|
||||
@ -166,6 +168,8 @@ gvc_mixer_ui_device_set_property (GObject *object,
|
||||
break;
|
||||
case PROP_ICON_NAME:
|
||||
gvc_mixer_ui_device_set_icon_name (self, g_value_get_string (value));
|
||||
g_debug ("gvc-mixer-output-set-property - icon name: %s",
|
||||
self->priv->icon_name);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
|
||||
|
Loading…
Reference in New Issue
Block a user