summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-18 22:52:00 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:50 +0200
commit0819a3d1982403935eb70b958ad515494d1b9a0a (patch)
treebdaa5394d36a89189dd93e3c253aaee163bbbb43 /libcaja-private
parent9cc5e9489fd7285759d7f4ed0d43028dabc7bd87 (diff)
downloadcaja-0819a3d1982403935eb70b958ad515494d1b9a0a.tar.bz2
caja-0819a3d1982403935eb70b958ad515494d1b9a0a.tar.xz
[lc-p/fm] Replace deprecated GDK_DISPLAY with GDK_DISPLAY_XDISPLAY
Don't use GDK_DISPLAY () http://git.gnome.org/browse/nautilus/commit/?id=b66ce0fd23500f9727c1aac93366430285575697
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-autorun.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcaja-private/caja-autorun.c b/libcaja-private/caja-autorun.c
index cf801b08..d78f402d 100644
--- a/libcaja-private/caja-autorun.c
+++ b/libcaja-private/caja-autorun.c
@@ -747,7 +747,8 @@ is_shift_pressed (void)
ret = FALSE;
gdk_error_trap_push ();
- status = XkbGetState (GDK_DISPLAY (), XkbUseCoreKbd, &state);
+ status = XkbGetState (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()),
+ XkbUseCoreKbd, &state);
gdk_error_trap_pop ();
if (status == Success)