diff options
-rw-r--r-- | logview/src/logview-filter.c | 3 | ||||
-rw-r--r-- | mate-dictionary/src/gdict-pref-dialog.c | 2 | ||||
-rw-r--r-- | mate-dictionary/src/gdict-source-dialog.c | 2 |
3 files changed, 7 insertions, 0 deletions
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; } } diff --git a/mate-dictionary/src/gdict-pref-dialog.c b/mate-dictionary/src/gdict-pref-dialog.c index 4c2c8e6c..3afa876b 100644 --- a/mate-dictionary/src/gdict-pref-dialog.c +++ b/mate-dictionary/src/gdict-pref-dialog.c @@ -556,6 +556,7 @@ gdict_pref_dialog_set_property (GObject *object, set_source_loader (dialog, g_value_get_object (value)); break; default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } @@ -574,6 +575,7 @@ gdict_pref_dialog_get_property (GObject *object, g_value_set_object (value, dialog->loader); break; default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } diff --git a/mate-dictionary/src/gdict-source-dialog.c b/mate-dictionary/src/gdict-source-dialog.c index 622ee9e4..9807afba 100644 --- a/mate-dictionary/src/gdict-source-dialog.c +++ b/mate-dictionary/src/gdict-source-dialog.c @@ -538,6 +538,7 @@ gdict_source_dialog_set_property (GObject *object, dialog->action = (GdictSourceDialogAction) g_value_get_int (value); break; default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } @@ -562,6 +563,7 @@ gdict_source_dialog_get_property (GObject *object, g_value_set_int (value, dialog->action); break; default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec); break; } } |