openbsd-ports/x11/gnome/tomboy/patches/patch-libtomboy_tomboykeybinder_c
ajacoutot ea6c0c9e74 * galago is gone, so remove useless CONFIGURE_ARGS.
* Rename tomboy.desktop to Tomboy.desktop to please session managers
looking for corresponding excutable <-> desktop.
* Really disable WebDavSyncService so that it doesn't come back into PLIST
* Merge patch from upstream to stop using gdk_display as it's deprecated
in GDK 2.22
2010-12-03 14:55:23 +00:00

19 lines
746 B
Plaintext

$OpenBSD: patch-libtomboy_tomboykeybinder_c,v 1.1 2010/12/03 14:55:23 ajacoutot Exp $
From 102b1e07bcfa5e51556a29dbe505f7900ec63ef6 Mon Sep 17 00:00:00 2001
From: Sandy Armstrong <sanfordarmstrong@gmail.com>
Date: Sun, 03 Oct 2010 00:40:06 +0000
Subject: [libtomboy] Stop using gdk_display, deprecated in GDK 2.22
--- libtomboy/tomboykeybinder.c.orig Fri Dec 3 14:30:08 2010
+++ libtomboy/tomboykeybinder.c Fri Dec 3 14:30:24 2010
@@ -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;