diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-01-26 09:34:08 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-01-28 06:47:36 +0100 |
commit | f59d83afaab95a60998428579da505144cc4906d (patch) | |
tree | 7eea18549b27f5cc81b910b84db9df095ee28eaa /src/locale/localed-util.h | |
parent | locale: make vconsole_convert_to_x11() not update Context (diff) | |
download | systemd-f59d83afaab95a60998428579da505144cc4906d.tar.xz systemd-f59d83afaab95a60998428579da505144cc4906d.zip |
locale: replace context_get_x11_context() with context_get_x11_context_safe()
Then, context_get_x11_context() always replies a valid X11 context.
No functional change, just refactoring.
Diffstat (limited to 'src/locale/localed-util.h')
-rw-r--r-- | src/locale/localed-util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed-util.h b/src/locale/localed-util.h index 015fcf8901..83d253c18d 100644 --- a/src/locale/localed-util.h +++ b/src/locale/localed-util.h @@ -44,7 +44,7 @@ bool x11_context_is_safe(const X11Context *xc); bool x11_context_equal(const X11Context *a, const X11Context *b); int x11_context_copy(X11Context *dest, const X11Context *src); -X11Context *context_get_x11_context_safe(Context *c); +X11Context *context_get_x11_context(Context *c); void vc_context_clear(VCContext *vc); void vc_context_replace(VCContext *dest, VCContext *src); |