diff options
author | infirit <[email protected]> | 2015-07-09 10:39:04 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-09 11:28:41 +0200 |
commit | 1b8f66d0f995b2f9ccf56c9ab7a27c2f68442c50 (patch) | |
tree | d191f95dc10adac55375ed5f15425fda420f3abf /src/gs-lock-plug.c | |
parent | c1d1e089a69c5e90e8b0cf4b96335899f209e7f0 (diff) | |
download | mate-screensaver-1b8f66d0f995b2f9ccf56c9ab7a27c2f68442c50.tar.bz2 mate-screensaver-1b8f66d0f995b2f9ccf56c9ab7a27c2f68442c50.tar.xz |
Always use GDK_DISPLAY_XDISPLAY instead of GDK_DISPLAY
Has been in Gtk since 2.22
Diffstat (limited to 'src/gs-lock-plug.c')
-rw-r--r-- | src/gs-lock-plug.c | 4 |
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; |