Merge lp:~mardy/libsignon-glib/context-lp1607799 into lp:libsignon-glib
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Marcus Tomlinson | ||||
Approved revision: | 164 | ||||
Merged at revision: | 163 | ||||
Proposed branch: | lp:~mardy/libsignon-glib/context-lp1607799 | ||||
Merge into: | lp:libsignon-glib | ||||
Diff against target: |
111 lines (+22/-32) 3 files modified
debian/changelog (+7/-0) libsignon-glib/signon-proxy.c (+15/-9) tests/check_signon.c (+0/-23) |
||||
To merge this branch: | bzr merge lp:~mardy/libsignon-glib/context-lp1607799 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Marcus Tomlinson (community) | Approve | ||
Review via email: mp+301644@code.launchpad.net |
Commit message
Lib: don't use g_idle_add, respect thread affinity
After commit 4e85baaf483268d
stopped working when used in a thread on which
g_main_
g_idle_add()'s callback is always involved on the default GMainContext,
and not on the one used by the current thread.
We fix this problem by using g_source directly.
Description of the change
Lib: don't use g_idle_add, respect thread affinity
After commit 4e85baaf483268d
stopped working when used in a thread on which
g_main_
g_idle_add()'s callback is always involved on the default GMainContext,
and not on the one used by the current thread.
We fix this problem by using g_source directly.
Excellent work, thanks mardy.