aboutsummaryrefslogtreecommitdiff
path: root/src/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device.c')
-rw-r--r--src/device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c
index d028ab7..6f2a809 100644
--- a/src/device.c
+++ b/src/device.c
@@ -532,6 +532,10 @@ device_kind_to_localised_string (UpDeviceKind kind)
/* TRANSLATORS: unknown device */
text = _("Unknown");
break;
+ case UP_DEVICE_KIND_UNKNOWN:
+ /* TRANSLATORS: unknown device */
+ text = _("Unknown");
+ break;
default:
g_warning ("enum unrecognised: %i", kind);
text = up_device_kind_to_string (kind);