diff options
Diffstat (limited to 'atk/atkvalue.c')
-rw-r--r-- | atk/atkvalue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/atk/atkvalue.c b/atk/atkvalue.c index 5f56541..ae7242f 100644 --- a/atk/atkvalue.c +++ b/atk/atkvalue.c @@ -550,7 +550,8 @@ atk_value_get_value_and_text (AtkValue *obj, else { *value = 0.0; - *text = NULL; + if (text) + *text = NULL; } } |