[tomboy] [libtomboy] Stop using gdk_display, deprecated in GDK 2.22
- From: Sanford Armstrong <sharm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tomboy] [libtomboy] Stop using gdk_display, deprecated in GDK 2.22
- Date: Sun, 3 Oct 2010 00:40:34 +0000 (UTC)
commit 102b1e07bcfa5e51556a29dbe505f7900ec63ef6
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Sat Oct 2 17:40:06 2010 -0700
[libtomboy] Stop using gdk_display, deprecated in GDK 2.22
libtomboy/tomboykeybinder.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libtomboy/tomboykeybinder.c b/libtomboy/tomboykeybinder.c
index 2718215..28bd34a 100644
--- a/libtomboy/tomboykeybinder.c
+++ b/libtomboy/tomboykeybinder.c
@@ -313,7 +313,7 @@ tomboy_keybinder_is_modifier (guint keycode)
XModifierKeymap *mod_keymap;
gboolean retval = FALSE;
- mod_keymap = XGetModifierMapping (gdk_display);
+ mod_keymap = XGetModifierMapping (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
map_size = 8 * mod_keymap->max_keypermod;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]