summaryrefslogtreecommitdiff
path: root/capplets/keyboard
diff options
context:
space:
mode:
authorPerberos <[email protected]>2011-12-08 04:01:38 -0300
committerPerberos <[email protected]>2011-12-08 04:01:38 -0300
commit8e68aa4f36fd333cb4f3c65efd7b0525a793299e (patch)
tree98c5d74fabbd6035f29be806b5230f9d11e0d9ed /capplets/keyboard
parentc9b0659767febba8b1852c3c5726d55983c22e28 (diff)
downloadmate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.bz2
mate-control-center-8e68aa4f36fd333cb4f3c65efd7b0525a793299e.tar.xz
removing deprecated GDK_DISPLAY()
Diffstat (limited to 'capplets/keyboard')
-rw-r--r--capplets/keyboard/mate-keyboard-properties-xkb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capplets/keyboard/mate-keyboard-properties-xkb.c b/capplets/keyboard/mate-keyboard-properties-xkb.c
index 3316b4d4..6df6b16a 100644
--- a/capplets/keyboard/mate-keyboard-properties-xkb.c
+++ b/capplets/keyboard/mate-keyboard-properties-xkb.c
@@ -170,7 +170,7 @@ setup_xkb_tabs (GtkBuilder * dialog, MateConfChangeSet * changeset)
xkb_mateconf_client = mateconf_client_get_default ();
- engine = xkl_engine_get_instance (GDK_DISPLAY ());
+ engine = xkl_engine_get_instance (GDK_DISPLAY_XDISPLAY(gdk_display_get_default()));
config_registry = xkl_config_registry_get_instance (engine);
matekbd_desktop_config_init (&desktop_config, xkb_mateconf_client,