summaryrefslogtreecommitdiff
path: root/recipes-lxde/lxappearance/lxappearance-0.5.2/empty-cursor.patch
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2013-06-18 01:16:21 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2013-10-15 13:49:37 +0200
commita0bdd6dab7c5288d981d76e554980d0979576e5b (patch)
tree24a338a31754931b130e55114fe8c9f9f1dabea5 /recipes-lxde/lxappearance/lxappearance-0.5.2/empty-cursor.patch
parent88c2dabd6520a41fab58f96a5483719c82350346 (diff)
lxappearance: update to 0.5.2
Diffstat (limited to 'recipes-lxde/lxappearance/lxappearance-0.5.2/empty-cursor.patch')
-rw-r--r--recipes-lxde/lxappearance/lxappearance-0.5.2/empty-cursor.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-lxde/lxappearance/lxappearance-0.5.2/empty-cursor.patch b/recipes-lxde/lxappearance/lxappearance-0.5.2/empty-cursor.patch
new file mode 100644
index 0000000..381c8be
--- /dev/null
+++ b/recipes-lxde/lxappearance/lxappearance-0.5.2/empty-cursor.patch
@@ -0,0 +1,12 @@
+diff -auNr lxappearance-0.5.1.orig/src/cursor-theme.c lxappearance-0.5.1/src/cursor-theme.c
+--- lxappearance-0.5.1.orig/src/cursor-theme.c 2012-01-15 20:16:51.113223420 +0100
++++ lxappearance-0.5.1/src/cursor-theme.c 2012-01-15 20:17:17.017897756 +0100
+@@ -44,6 +44,8 @@
+ cursor = gdk_cursor_new(types[i]);
+ GdkPixbuf* pix = gdk_cursor_get_image(cursor);
+ gdk_cursor_unref(cursor);
++ if (pix == NULL)
++ continue;
+ gtk_list_store_insert_with_values(store, &it, -1, 0, pix, -1);
+ g_object_unref(pix);
+ }