[gnome-settings-daemon] keybindings: gdk_drawable_get_screen is gone
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] keybindings: gdk_drawable_get_screen is gone
- Date: Tue, 12 Oct 2010 13:50:24 +0000 (UTC)
commit 410add08766f39ce146b9219045ba9a88dbd9a50
Author: Alban Browaeys <prahal yahoo com>
Date: Thu Oct 7 16:42:34 2010 +0200
keybindings: gdk_drawable_get_screen is gone
Replaces by gdk_window_get_screen.
https://bugzilla.gnome.org/show_bug.cgi?id=631931
plugins/keybindings/gsd-keybindings-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/keybindings/gsd-keybindings-manager.c b/plugins/keybindings/gsd-keybindings-manager.c
index 342e12f..5cad7d6 100644
--- a/plugins/keybindings/gsd-keybindings-manager.c
+++ b/plugins/keybindings/gsd-keybindings-manager.c
@@ -415,7 +415,7 @@ get_exec_environment (XEvent *xevent)
GdkWindow *window = gdk_xid_table_lookup (xevent->xkey.root);
if (window) {
- screen = gdk_drawable_get_screen (GDK_DRAWABLE (window));
+ screen = gdk_window_get_screen (window);
}
g_return_val_if_fail (GDK_IS_SCREEN (screen), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]