mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
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:
parent
f813ce6abe
commit
61cb8b232b
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user