From af276a4f96f459976a0ac65fcebdd97c625957a6 Mon Sep 17 00:00:00 2001 From: Christoph Haag <christoph.haag@collabora.com> Date: Wed, 26 Jan 2022 23:15:57 +0100 Subject: [PATCH] inputsynth: Rename InputsynthBackend to InputSynthBackend --- examples/inputsynth.c | 2 +- src/inputsynth.c | 4 ++-- src/inputsynth.h | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/inputsynth.c b/examples/inputsynth.c index 9a9f2b5..d6477bf 100644 --- a/examples/inputsynth.c +++ b/examples/inputsynth.c @@ -105,7 +105,7 @@ _run_exmaple (InputSynth *input) int main () { - InputsynthBackend backends[] = { + InputSynthBackend backends[] = { INPUTSYNTH_BACKEND_XDO, INPUTSYNTH_BACKEND_XI2, }; diff --git a/src/inputsynth.c b/src/inputsynth.c index 32f8e5a..dc8d22f 100644 --- a/src/inputsynth.c +++ b/src/inputsynth.c @@ -31,7 +31,7 @@ input_synth_init (InputSynth *self) } static InputSynth * -_load_library (InputsynthBackend backend) +_load_library (InputSynthBackend backend) { const gchar *plugin_dir; @@ -88,7 +88,7 @@ _load_library (InputsynthBackend backend) } InputSynth * -input_synth_new (InputsynthBackend backend) +input_synth_new (InputSynthBackend backend) { gboolean supported = g_module_supported(); if (!supported) diff --git a/src/inputsynth.h b/src/inputsynth.h index 710fe46..187d59e 100644 --- a/src/inputsynth.h +++ b/src/inputsynth.h @@ -42,9 +42,9 @@ typedef enum { INPUTSYNTH_BACKEND_XI2, INPUTSYNTH_BACKEND_XDO, INPUTSYNTH_BACKEND_WAYLAND_CLUTTER -} InputsynthBackend; +} InputSynthBackend; -InputSynth *input_synth_new (InputsynthBackend backend); +InputSynth *input_synth_new (InputSynthBackend backend); void input_synth_move_cursor (InputSynth *self, int x, int y); -- GitLab