After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 724706 - gsource: document priority of child sources
gsource: document priority of child sources
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: mainloop
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2014-02-19 02:45 UTC by Allison Karlitskaya (desrt)
Modified: 2014-02-20 23:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gsource: document priority of child sources (1.41 KB, patch)
2014-02-19 02:45 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Allison Karlitskaya (desrt) 2014-02-19 02:45:52 UTC
Add a note to the documentation that child sources cannot have their priority
changed independently from their parent.  Add a g_return_if_fail() to the
public API in order to enforce this.

This was already a reality due to the check in
g_source_set_priority_unlocked(), but it was never explicitly documented.
Comment 1 Allison Karlitskaya (desrt) 2014-02-19 02:45:55 UTC
Created attachment 269652 [details] [review]
gsource: document priority of child sources
Comment 2 Allison Karlitskaya (desrt) 2014-02-20 23:33:08 UTC
Attachment 269652 [details] pushed as 0415930 - gsource: document priority of child sources