[gtk+] gdkcursor-x11.c: fix building without HAVE_XCURSOR
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdkcursor-x11.c: fix building without HAVE_XCURSOR
- Date: Mon, 3 Jan 2011 04:40:10 +0000 (UTC)
commit 98a30bbf3efbec5d1ec53876c0cad6e27de51931
Author: Nguy�n Thái Ng�c Duy <pclouds gmail com>
Date: Tue Dec 28 10:19:52 2010 +0700
gdkcursor-x11.c: fix building without HAVE_XCURSOR
Signed-off-by: Nguy�n Thái Ng�c Duy <pclouds gmail com>
gdk/x11/gdkcursor-x11.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 1a90088..ae3dbe9 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -824,10 +824,13 @@ _gdk_x11_display_supports_cursor_color (GdkDisplay *display)
}
void
-_gdk_x11_display_get_default_cursor_size (GdkDisplay *display)
+_gdk_x11_display_get_default_cursor_size (GdkDisplay *display,
+ guint *width,
+ guint *height)
{
/* no idea, really */
- return 20;
+ *width = *height = 20;
+ return;
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]