projects
/
platform
/
upstream
/
at-spi2-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2289593
)
Fix copying of event any_data
author
Mike Gorse
<mgorse@novell.com>
Thu, 2 Dec 2010 11:31:13 +0000
(06:31 -0500)
committer
Mike Gorse
<mgorse@novell.com>
Thu, 2 Dec 2010 11:31:13 +0000
(06:31 -0500)
atspi/atspi-event-listener.c
patch
|
blob
|
history
diff --git
a/atspi/atspi-event-listener.c
b/atspi/atspi-event-listener.c
index
58be9af
..
38d1352
100644
(file)
--- a/
atspi/atspi-event-listener.c
+++ b/
atspi/atspi-event-listener.c
@@
-682,8
+682,8
@@
atspi_event_copy (AtspiEvent *src)
dst->source = g_object_ref (src->source);
dst->detail1 = src->detail1;
dst->detail2 = src->detail2;
-
dst->any_data.g_type = src->any_data.g_type
;
- g_value_copy (&
dst->any_data, &src
->any_data);
+
g_value_init (&dst->any_data, G_VALUE_TYPE (&src->any_data))
;
+ g_value_copy (&
src->any_data, &dst
->any_data);
return dst;
}