summaryrefslogtreecommitdiff
path: root/libxklavier/xklavier.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxklavier/xklavier.c')
-rw-r--r--libxklavier/xklavier.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libxklavier/xklavier.c b/libxklavier/xklavier.c
index 7c4f6c1..15a4d37 100644
--- a/libxklavier/xklavier.c
+++ b/libxklavier/xklavier.c
@@ -649,9 +649,7 @@ xkl_engine_constructor(GType type,
{
/* Invoke parent constructor. */
- XklEngineClass *klass;
- klass =
- XKL_ENGINE_CLASS(g_type_class_peek(XKL_TYPE_ENGINE));
+ g_type_class_peek(XKL_TYPE_ENGINE);
obj =
parent_class->constructor(type, n_construct_properties,
construct_properties);