[libegg/spread-table-dnd: 43/45] Add a GDK_DISPLAY_XDISPLAY cast
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libegg/spread-table-dnd: 43/45] Add a GDK_DISPLAY_XDISPLAY cast
- Date: Sat, 2 Apr 2011 14:14:27 +0000 (UTC)
commit 2fec8923f7f1c356397bf1da1f6affe608629d1f
Author: David King <davidk openismus com>
Date: Wed Mar 30 11:04:51 2011 +0200
Add a GDK_DISPLAY_XDISPLAY cast
libegg/treeviewutils/eggcellrendererkeys.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libegg/treeviewutils/eggcellrendererkeys.c b/libegg/treeviewutils/eggcellrendererkeys.c
index 724b35b..a136d0f 100644
--- a/libegg/treeviewutils/eggcellrendererkeys.c
+++ b/libegg/treeviewutils/eggcellrendererkeys.c
@@ -331,7 +331,7 @@ is_modifier (guint keycode)
XModifierKeymap *mod_keymap;
gboolean retval = FALSE;
- mod_keymap = XGetModifierMapping (gdk_display_get_default ());
+ mod_keymap = XGetModifierMapping (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
map_size = 8 * mod_keymap->max_keypermod;
i = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]