From 88ac43d1e046f7b50ea0d7060d192d68b07f6ea4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 7 Aug 2020 15:56:59 +0200 Subject: Warn about accessing an undefined property of the object --- logview/src/logview-filter.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'logview') diff --git a/logview/src/logview-filter.c b/logview/src/logview-filter.c index 91bfa3b2..47ac9878 100644 --- a/logview/src/logview-filter.c +++ b/logview/src/logview-filter.c @@ -116,6 +116,9 @@ logview_filter_get_property (GObject *object, guint prop_id, GValue *value, GPar case PROP_TEXTTAG: g_value_set_object (value, priv->tag); break; + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); + break; } } -- cgit v1.2.1