[gnote] Remove deprecated gdk_drawable_get_screen
- From: Aurimas Černius <aurimasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnote] Remove deprecated gdk_drawable_get_screen
- Date: Wed, 1 Jun 2011 20:09:15 +0000 (UTC)
commit 1030a00155b5062839746b578d05786819770429
Author: Aurimas Ä?ernius <aurisc4 gmail com>
Date: Wed Jun 1 22:53:30 2011 +0300
Remove deprecated gdk_drawable_get_screen
Replace it by gdk_window_get_screen.
libtomboy/tomboyutil.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libtomboy/tomboyutil.c b/libtomboy/tomboyutil.c
index 77e71f9..7440a10 100644
--- a/libtomboy/tomboyutil.c
+++ b/libtomboy/tomboyutil.c
@@ -73,7 +73,7 @@ tomboy_window_move_to_current_workspace (GtkWindow *window)
{
GdkWindow *gdkwin = gtk_widget_get_window(GTK_WIDGET (window));
GdkWindow *rootwin =
- gdk_screen_get_root_window (gdk_drawable_get_screen (gdkwin));
+ gdk_screen_get_root_window (gdk_window_get_screen (gdkwin));
GdkAtom current_desktop =
gdk_atom_intern ("_NET_CURRENT_DESKTOP", FALSE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]