diff options
author | Mike Gorse <mgorse@suse.com> | 2022-06-23 15:40:07 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2022-06-23 15:40:07 -0500 |
commit | eb9e9429fc28dae92f1dcbd0f3ea0bd4a248fdfe (patch) | |
tree | 341f1a4b5164d30817b5e361a27febbdf70de114 /atspi | |
parent | 0a629ce4a996dbc3fc9b797208a0bd0294c3814d (diff) | |
download | at-spi2-core-eb9e9429fc28dae92f1dcbd0f3ea0bd4a248fdfe.tar.gz |
Fix warning
Diffstat (limited to 'atspi')
-rw-r--r-- | atspi/atspi-value.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/atspi/atspi-value.c b/atspi/atspi-value.c index 4aef846b..714fdb6e 100644 --- a/atspi/atspi-value.c +++ b/atspi/atspi-value.c @@ -167,7 +167,7 @@ atspi_value_get_text (AtspiValue *obj, GError **error) { gchar *retval = NULL; - g_return_if_fail (obj != NULL); + g_return_val_if_fail (obj != NULL, NULL); _atspi_dbus_get_property (obj, atspi_interface_value, "Text", error, "s", &retval); |