diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2014-03-25 11:31:16 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2014-03-25 11:31:16 +0100 |
commit | bb906c7592ada0c6fcdb0c04b268087db0fb20cc (patch) | |
tree | 8388c92f5d5a1c54c1c4fa9465d5275f520246f1 /recipes-lxde/lxappearance/lxappearance-0.5.5/empty-cursor.patch | |
parent | 5c7761f15cae8e28dcca38087e4ae88489db79bc (diff) |
lxappearance: update to 0.5.5
Diffstat (limited to 'recipes-lxde/lxappearance/lxappearance-0.5.5/empty-cursor.patch')
-rw-r--r-- | recipes-lxde/lxappearance/lxappearance-0.5.5/empty-cursor.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes-lxde/lxappearance/lxappearance-0.5.5/empty-cursor.patch b/recipes-lxde/lxappearance/lxappearance-0.5.5/empty-cursor.patch new file mode 100644 index 0000000..381c8be --- /dev/null +++ b/recipes-lxde/lxappearance/lxappearance-0.5.5/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); + } |