diff options
Diffstat (limited to 'mate-dictionary')
-rw-r--r-- | mate-dictionary/src/gdict-pref-dialog.c | 2 | ||||
-rw-r--r-- | mate-dictionary/src/gdict-source-dialog.c | 2 |
2 files changed, 4 insertions, 0 deletions
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; } } |