[nautilus/rendering-cleanup: 8/17] [libnautilus-private] Don't use deprecated GDK_DISPLAY
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/rendering-cleanup: 8/17] [libnautilus-private] Don't use deprecated GDK_DISPLAY
- Date: Thu, 16 Sep 2010 23:32:16 +0000 (UTC)
commit b164ba40765741be31cf144e48c72a1413b8adb6
Author: Christian Persch <chpe gnome org>
Date: Thu Sep 16 15:07:02 2010 +0200
[libnautilus-private] Don't use deprecated GDK_DISPLAY
libnautilus-private/nautilus-autorun.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-autorun.c b/libnautilus-private/nautilus-autorun.c
index 710ae76..65ff7b2 100644
--- a/libnautilus-private/nautilus-autorun.c
+++ b/libnautilus-private/nautilus-autorun.c
@@ -693,7 +693,7 @@ 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) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]