diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-25 18:06:33 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-04-25 19:53:02 +0000 |
commit | 286429b1aa72ee964ba0cac4b79c754859b1c60a (patch) | |
tree | 33c01e6792fd99a430be126c19b9b71947ffd060 /main/nautilus/003-filename-null.patch | |
parent | 3597c695c8ae4a22da8bd26c363aa8ceae267be3 (diff) | |
download | aports-286429b1aa72ee964ba0cac4b79c754859b1c60a.tar.bz2 aports-286429b1aa72ee964ba0cac4b79c754859b1c60a.tar.xz |
main/nautilus: upgrade to 2.32.2.1
Diffstat (limited to 'main/nautilus/003-filename-null.patch')
-rw-r--r-- | main/nautilus/003-filename-null.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/nautilus/003-filename-null.patch b/main/nautilus/003-filename-null.patch new file mode 100644 index 0000000000..56a32d9f44 --- /dev/null +++ b/main/nautilus/003-filename-null.patch @@ -0,0 +1,22 @@ +From 1df5a0ceb27f2cb4ef201344a558a3e961094cc4 Mon Sep 17 00:00:00 2001 +From: Rodrigo Moya <rodrigo@gnome-db.org> +Date: Thu, 24 Feb 2011 16:47:29 +0000 +Subject: Guard against filename being NULL on nautilus_icon_info_lookup + +--- +diff --git a/libnautilus-private/nautilus-icon-info.c b/libnautilus-private/nautilus-icon-info.c +index f39ad42..97e88cb 100644 +--- a/libnautilus-private/nautilus-icon-info.c ++++ b/libnautilus-private/nautilus-icon-info.c +@@ -392,6 +392,9 @@ nautilus_icon_info_lookup (GIcon *icon, + } + + filename = gtk_icon_info_get_filename (gtkicon_info); ++ if (filename == NULL) { ++ return nautilus_icon_info_new_for_pixbuf (NULL); ++ } + + lookup_key.filename = (char *)filename; + lookup_key.size = size; +-- +cgit v0.9 |