[gnote] Remove deprecated gdk_drawable_get_display



commit 5a115929b1bb3439d40a8866b7e03cc5fdf0a96e
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date:   Wed Jun 1 22:54:25 2011 +0300

    Remove deprecated gdk_drawable_get_display
    
    Replace it by gdk_window_get_display.

 libtomboy/tomboyutil.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libtomboy/tomboyutil.c b/libtomboy/tomboyutil.c
index 7440a10..661cb9f 100644
--- a/libtomboy/tomboyutil.c
+++ b/libtomboy/tomboyutil.c
@@ -107,7 +107,7 @@ tomboy_window_move_to_current_workspace (GtkWindow *window)
 	xev.xclient.window = GDK_WINDOW_XID (gdkwin);
 	xev.xclient.message_type = 
 		gdk_x11_atom_to_xatom_for_display(
-			gdk_drawable_get_display (gdkwin),
+			gdk_window_get_display (gdkwin),
 			wm_desktop);
 	xev.xclient.format = 32;
 	xev.xclient.data.l[0] = workspace;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]