[gnome-applets] GDK fix from Milan Bouchet-Valat
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets] GDK fix from Milan Bouchet-Valat
- Date: Sat, 8 Jan 2011 21:02:24 +0000 (UTC)
commit 5829a2a03b7edd371da26c76e9653b3dcdb63ca2
Author: Kjartan Maraas <kmaraas gnome org>
Date: Sat Jan 8 22:02:17 2011 +0100
GDK fix from Milan Bouchet-Valat
stickynotes/stickynotes.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/stickynotes/stickynotes.c b/stickynotes/stickynotes.c
index a18e8b3..443940e 100644
--- a/stickynotes/stickynotes.c
+++ b/stickynotes/stickynotes.c
@@ -46,7 +46,9 @@ set_icon_geometry (GdkWindow *window,
int height)
{
gulong data[4];
- Display *dpy = gdk_x11_drawable_get_xdisplay (window);
+ Display *dpy;
+
+ dpy = gdk_x11_display_get_xdisplay (gdk_window_get_display (window));
data[0] = x;
data[1] = y;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]