[Xfce4-commits] <tumbler:jannis/specialized> Add missing tumbler_plugin_get_cache() function.
Jannis Pohlmann
noreply at xfce.org
Tue Nov 3 01:44:01 CET 2009
Updating branch refs/heads/jannis/specialized
to ceeddb451c781915fcf1b68bd8477d657e15413e (commit)
from 5e40cdc4c940ccb2be65ef233e4b546de6dbef86 (commit)
commit ceeddb451c781915fcf1b68bd8477d657e15413e
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