GMainLoop: match of parameter pair of LOCK_CONTEXT/UNLOCK_CONTEXT

There is no reason to use source->context as as parameter of UNLOCK_CONTEXT.
To avoid confusion, change to the parameter used in LOCK_CONTEXT.

https://bugzilla.gnome.org/show_bug.cgi?id=787146
This commit is contained in:
INSUN PYO 2017-09-02 02:21:14 +09:00 committed by Philip Withnall
parent f813ce6abe
commit 61cb8b232b

View File

@ -1786,7 +1786,7 @@ g_source_set_priority (GSource *source,
LOCK_CONTEXT (context);
g_source_set_priority_unlocked (source, context, priority);
if (context)
UNLOCK_CONTEXT (source->context);
UNLOCK_CONTEXT (context);
}
/**