From 8e68aa4f36fd333cb4f3c65efd7b0525a793299e Mon Sep 17 00:00:00 2001 From: Perberos Date: Thu, 8 Dec 2011 04:01:38 -0300 Subject: removing deprecated GDK_DISPLAY() --- capplets/keyboard/mate-keyboard-properties-xkb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capplets/keyboard') 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, -- cgit v1.2.1