projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d79f270
)
When emitting a signal, check for a null string
author
Mike Gorse
<mgorse@boston.site>
Tue, 24 Jun 2008 14:24:59 +0000
(10:24 -0400)
committer
Mike Gorse
<mgorse@boston.site>
Tue, 24 Jun 2008 14:24:59 +0000
(10:24 -0400)
atk-adaptor/bridge.c
patch
|
blob
|
history
diff --git
a/atk-adaptor/bridge.c
b/atk-adaptor/bridge.c
index
8764e9f
..
e773384
100644
(file)
--- a/
atk-adaptor/bridge.c
+++ b/
atk-adaptor/bridge.c
@@
-685,7
+685,11
@@
static void emit(AtkObject *object, const char *name, const char *detail, dbus_i
type_as_string = "o";
if (!val) val = "";
}
- else if (type == DBUS_TYPE_STRING) type_as_string = "s";
+ else if (type == DBUS_TYPE_STRING)
+ {
+ type_as_string = "s";
+ if (!val) val = "";
+ }
else if (type == DBUS_TYPE_INT32) type_as_string = "i";
else if (type == DBUS_TYPE_UINT32) type_as_string = "u";
else if (type == DBUS_TYPE_INVALID)