[gtk+] x11: Add the same message as the wayland backend has
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] x11: Add the same message as the wayland backend has
- Date: Mon, 17 Oct 2016 23:11:49 +0000 (UTC)
commit 95c7de70c70951ee5d1def390e51b0569c08c970
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Oct 17 15:27:15 2016 -0400
x11: Add the same message as the wayland backend has
This seems prudent, if we make noise about missing cursors
on Wayland, we should do the same on X11.
gdk/x11/gdkcursor-x11.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 7f14873..1895ba9 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -704,7 +704,10 @@ _gdk_x11_display_get_cursor_for_name (GdkDisplay *display,
}
}
if (xcursor == None)
- return NULL;
+ {
+ g_message ("Unable to load %s from the cursor theme", name);
+ return NULL;
+ }
}
private = g_object_new (GDK_TYPE_X11_CURSOR,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]