| Summary: | Warnings printed to console when running AccessibleValueExample | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Silenio Quarti <Silenio_Quarti> | ||||
| Component: | SWT | Assignee: | Silenio Quarti <Silenio_Quarti> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | eclipse.felipe | ||||
| Version: | 3.6 | Flags: | eclipse.felipe:
review+
|
||||
| Target Milestone: | 3.6 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Silenio Quarti
(SWT:2724): GLib-GObject-CRITICAL **: g_value_unset: assertion `G_IS_VALUE (value)' failed Created attachment 166663 [details]
fix
This should is be fixed in RC1
I see that will work, but personally I'd have used if (OS.G_IS_VALUE(value) != 0) OS.g_value_unset(value); instead of if (OS.G_VALUE_TYPE(value) != 0) OS.g_value_unset(value); G_IS_VALUE() is failing assertion in the stacktrace after all The G_VALUE_TYPE is already used to get the type in setGValue(). G_IS_VALUE checks if the object is a GValue which is unnecessary. Fixed > 20100503 |