summaryrefslogtreecommitdiff
path: root/src/gs-lock-plug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r--src/gs-lock-plug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gs-lock-plug.c b/src/gs-lock-plug.c
index 3a42c7f..68c0f0b 100644
--- a/src/gs-lock-plug.c
+++ b/src/gs-lock-plug.c
@@ -2243,11 +2243,7 @@ gs_lock_plug_init (GSLockPlug *plug)
{
XklEngine *engine;
-#if GTK_CHECK_VERSION (3, 0, 0)
engine = xkl_engine_get_instance (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
-#else
- engine = xkl_engine_get_instance (GDK_DISPLAY ());
-#endif
if (xkl_engine_get_num_groups (engine) > 1)
{
GtkWidget *layout_indicator;