mirror of
https://gitlab.gnome.org/GNOME/libgnome-volume-control.git
synced 2024-11-23 09:20:41 -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;
|
break;
|
||||||
case PROP_UI_DEVICE_TYPE:
|
case PROP_UI_DEVICE_TYPE:
|
||||||
self->priv->type = (GvcMixerUIDeviceDirection) g_value_get_uint (value);
|
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;
|
break;
|
||||||
case PROP_PORT_AVAILABLE:
|
case PROP_PORT_AVAILABLE:
|
||||||
self->priv->port_available = g_value_get_boolean (value);
|
self->priv->port_available = g_value_get_boolean (value);
|
||||||
@ -166,6 +168,8 @@ gvc_mixer_ui_device_set_property (GObject *object,
|
|||||||
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));
|
||||||
|
g_debug ("gvc-mixer-output-set-property - icon name: %s",
|
||||||
|
self->priv->icon_name);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
|
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
|
||||||
|
Loading…
Reference in New Issue
Block a user