summaryrefslogtreecommitdiffstats
path: root/src/locale/localed-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-01-26 09:34:08 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-01-28 06:47:36 +0100
commitf59d83afaab95a60998428579da505144cc4906d (patch)
tree7eea18549b27f5cc81b910b84db9df095ee28eaa /src/locale/localed-util.h
parentlocale: make vconsole_convert_to_x11() not update Context (diff)
downloadsystemd-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.h2
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);