From c72e46fc4417c81f153e64b1e42d26db8e99c814 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sun, 4 Feb 2024 00:01:42 +0100 Subject: [PATCH] mixer-ui-device: Add debug for device type and icon name --- gvc-mixer-ui-device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gvc-mixer-ui-device.c b/gvc-mixer-ui-device.c index db1a694..9a4d32c 100644 --- a/gvc-mixer-ui-device.c +++ b/gvc-mixer-ui-device.c @@ -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);