[Xfce4-commits] <tumbler:master> Add missing tumbler_plugin_get_cache() function.
Jannis Pohlmann
noreply at xfce.org
Sun Nov 1 03:40:01 CET 2009
Updating branch refs/heads/master
to 7a0fff90cee7f9d4797ef6d412a198789dae9a0d (commit)
from e4186a2126a27d9eb541e906251cbf6622ac9023 (commit)
commit 7a0fff90cee7f9d4797ef6d412a198789dae9a0d
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Sun Nov 1 03:39:06 2009 +0100
Add missing tumbler_plugin_get_cache() function.
plugins/xdg-cache/xdg-cache-plugin.c | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/plugins/xdg-cache/xdg-cache-plugin.c b/plugins/xdg-cache/xdg-cache-plugin.c
index 2e17fc0..ece01d2 100644
--- a/plugins/xdg-cache/xdg-cache-plugin.c
+++ b/plugins/xdg-cache/xdg-cache-plugin.c
@@ -35,7 +35,7 @@
G_MODULE_EXPORT void tumbler_plugin_initialize (TumblerCachePlugin *plugin);
G_MODULE_EXPORT void tumbler_plugin_shutdown (void);
-G_MODULE_EXPORT TumblerCache *tumbler_plugin_get_types (void);
+G_MODULE_EXPORT TumblerCache *tumbler_plugin_get_cache (void);
@@ -71,3 +71,11 @@ tumbler_plugin_shutdown (void)
g_message (_("Shutting down the Tumbler XDG cache plugin"));
#endif
}
+
+
+
+TumblerCache *
+tumbler_plugin_get_cache (void)
+{
+ return g_object_new (XDG_CACHE_TYPE_CACHE, NULL);
+}
More information about the Xfce4-commits
mailing list