diff options
-rw-r--r-- | src/device.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index 5919aa8..1c818cc 100644 --- a/src/device.c +++ b/src/device.c @@ -180,6 +180,10 @@ get_property (GObject * o, guint prop_id, GValue * value, GParamSpec * pspec) case PROP_TIME: g_value_set_uint64 (value, priv->time); break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(o, prop_id, pspec); + break; } } @@ -211,6 +215,10 @@ set_property (GObject * o, guint prop_id, const GValue * value, GParamSpec * psp case PROP_TIME: priv->time = g_value_get_uint64(value); break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID(o, prop_id, pspec); + break; } } |