summaryrefslogtreecommitdiff
path: root/src/locale/localed-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-01-26 17:34:08 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-01-28 14:47:36 +0900
commitf59d83afaab95a60998428579da505144cc4906d (patch)
tree7eea18549b27f5cc81b910b84db9df095ee28eaa /src/locale/localed-util.h
parent90005a4f0a2c0a229e2356fb75cc75ea538503d3 (diff)
downloadsystemd-f59d83afaab95a60998428579da505144cc4906d.tar.gz
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);