GNOME Bugzilla – Bug 787146
GMainLoop: match of parameter pair of LOCK_CONTEXT/UNLOCK_CONTEXT
Last modified: 2017-09-08 14:58:31 UTC
Created attachment 358955 [details] [review] patch The parameter mismatch between LOCK_CONTEXT and UNLOCK_CONTEXT in g_source_set_priority. To avoid confusion, change to the parameter used in LOCK_CONTEXT. /////////////////////////////////////////////////////////////////////////////// void g_source_set_priority (GSource *source, gint priority) { context = source->context; if (context) LOCK_CONTEXT (context); g_source_set_priority_unlocked (source, context, priority); if (context) UNLOCK_CONTEXT (source->context); } //////////////////////////////////////////////////////////////////////////////
Review of attachment 358955 [details] [review]: LGTM.