Merge lp:~agateau/libindicate/gvalue into lp:libindicate/0.6
Proposed by
Aurélien Gâteau
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~agateau/libindicate/gvalue |
Merge into: | lp:libindicate/0.6 |
Diff against target: |
102 lines (+43/-0) 3 files modified
libindicate/listener.c (+28/-0) libindicate/listener.h (+7/-0) libindicate/server.c (+8/-0) |
To merge this branch: | bzr merge lp:~agateau/libindicate/gvalue |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ted Gould (community) | Needs Information | ||
Review via email: mp+19336@code.launchpad.net |
To post a comment you must log in.
Make it possible to get the GValue for a property.
This is useful to implement a generic way to retrieve all values as indicate_ listener_ get_property( ) now fails on a int or bool property.
I also removed the return which prevented the property callback from being called when there is an error (such as a missing property) as it was preventing me using the library in this way:
- ask for property1
- wait for callback
- process property1 value
- ask for property2
...