diff options
author | Jannis Pohlmann <jannis@xfce.org> | 2009-10-21 11:50:07 +0200 |
---|---|---|
committer | Jannis Pohlmann <jannis@xfce.org> | 2009-10-21 11:50:07 +0200 |
commit | a7a1dd4292b87384d7edae6d3f9995df2668fab0 (patch) | |
tree | 7e774d60c89c335a9d063b8d24528aae6175f479 /tumblerd/tumbler-registry.h | |
parent | 610f0964b759a26944bca705dad5061f1fe0ba04 (diff) | |
download | tumbler-a7a1dd4292b87384d7edae6d3f9995df2668fab0.tar.gz |
Update cache with tumbler_registry_update_supported() only when needed.
We'll probably have to deal with a lot of specialized thumbnailers on
Maemo and a lot of thumbnailer plugins on the desktop, and since
tumbler_registry_update_supported() is VERY expensive, we should only
call it when necessary.
Diffstat (limited to 'tumblerd/tumbler-registry.h')
-rw-r--r-- | tumblerd/tumbler-registry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tumblerd/tumbler-registry.h b/tumblerd/tumbler-registry.h index acac8c3..011fd04 100644 --- a/tumblerd/tumbler-registry.h +++ b/tumblerd/tumbler-registry.h @@ -47,6 +47,7 @@ TumblerThumbnailer **tumbler_registry_get_thumbnailer_array (TumblerRegistry const GStrv uris, const GStrv mime_hints, gint *length) G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT; +void tumbler_registry_update_supported (TumblerRegistry *registry); void tumbler_registry_get_supported (TumblerRegistry *registry, const gchar *const **uri_schemes, const gchar *const **mime_types); |