From 98a30bbf3efbec5d1ec53876c0cad6e27de51931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Th=C3=A1i=20Ng=E1=BB=8Dc=20Duy?= Date: Tue, 28 Dec 2010 10:19:52 +0700 Subject: [PATCH] gdkcursor-x11.c: fix building without HAVE_XCURSOR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nguyễn Thái Ngọc Duy --- gdk/x11/gdkcursor-x11.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c index 1a900885b7..ae3dbe9dad 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