summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-01-22 22:41:46 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-01-22 22:41:46 +0000
commit36481d7c1aa02701586810a7f35072baaaee9402 (patch)
tree53f4cca007d5dfc46d6675f664b59260cd29a956 /libnautilus-private
parentdf8c3f3896d4d59f9cc7226896653a779d696dc5 (diff)
downloadnautilus-36481d7c1aa02701586810a7f35072baaaee9402.tar.gz
Add attribute_q property that is the Quark of the attribute property.
2008-01-22 Alexander Larsson <alexl@redhat.com> * libnautilus-extension/nautilus-column.c: Add attribute_q property that is the Quark of the attribute property. * src/file-manager/fm-icon-container.c: * src/file-manager/fm-list-model.[ch]: * src/file-manager/fm-list-view.c: Use the quark versions of the string attribute calls for better performance. svn path=/trunk/; revision=13642
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-file.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index 6f427acc7..11de7ecdb 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -5128,10 +5128,6 @@ char *
nautilus_file_get_string_attribute_q (NautilusFile *file, GQuark attribute_q)
{
char *extension_attribute;
-
- /* FIXME bugzilla.gnome.org 40646:
- * Use hash table and switch statement or function pointers for speed?
- */
if (attribute_q == attribute_name_q) {
return nautilus_file_get_display_name (file);