summaryrefslogtreecommitdiff
path: root/tumbler
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-10-27 18:26:01 +0100
committerJannis Pohlmann <jannis@xfce.org>2009-10-27 18:26:01 +0100
commit55f77811825155b4e44d92efdf698d8d2bcdb4eb (patch)
tree0432cae56b32b50ff472f979c9f9d9144ac7d375 /tumbler
parentcc05eb7d3cb2292eb959099b47f8cd8a23ca298b (diff)
downloadtumbler-55f77811825155b4e44d92efdf698d8d2bcdb4eb.tar.gz
Fix a bunch of compiler warnings.
Diffstat (limited to 'tumbler')
-rw-r--r--tumbler/tumbler-cache-plugin.c12
-rw-r--r--tumbler/tumbler-file-info.c6
-rw-r--r--tumbler/tumbler-thumbnail.c13
3 files changed, 1 insertions, 30 deletions
diff --git a/tumbler/tumbler-cache-plugin.c b/tumbler/tumbler-cache-plugin.c
index 4a92b1c..7cfc27e 100644
--- a/tumbler/tumbler-cache-plugin.c
+++ b/tumbler/tumbler-cache-plugin.c
@@ -84,13 +84,6 @@ tumbler_cache_plugin_class_init (TumblerCachePluginClass *klass)
static void
-tumbler_cache_plugin_cache_init (TumblerCacheIface *iface)
-{
-}
-
-
-
-static void
tumbler_cache_plugin_init (TumblerCachePlugin *plugin)
{
}
@@ -100,7 +93,6 @@ tumbler_cache_plugin_init (TumblerCachePlugin *plugin)
static void
tumbler_cache_plugin_constructed (GObject *object)
{
- TumblerCachePlugin *plugin = TUMBLER_CACHE_PLUGIN (object);
}
@@ -108,8 +100,6 @@ tumbler_cache_plugin_constructed (GObject *object)
static void
tumbler_cache_plugin_dispose (GObject *object)
{
- TumblerCachePlugin *plugin = TUMBLER_CACHE_PLUGIN (object);
-
(*G_OBJECT_CLASS (tumbler_cache_plugin_parent_class)->dispose) (object);
}
@@ -118,8 +108,6 @@ tumbler_cache_plugin_dispose (GObject *object)
static void
tumbler_cache_plugin_finalize (GObject *object)
{
- TumblerCachePlugin *plugin = TUMBLER_CACHE_PLUGIN (object);
-
(*G_OBJECT_CLASS (tumbler_cache_plugin_parent_class)->finalize) (object);
}
diff --git a/tumbler/tumbler-file-info.c b/tumbler/tumbler-file-info.c
index ece1bd1..3ab47eb 100644
--- a/tumbler/tumbler-file-info.c
+++ b/tumbler/tumbler-file-info.c
@@ -239,10 +239,6 @@ tumbler_file_info_load (TumblerFileInfo *info,
GFileInfo *file_info;
GError *err = NULL;
GFile *file;
- GList *cp;
- GList *lp;
- GList *thumbnails;
- GList *tp;
g_return_val_if_fail (TUMBLER_IS_FILE_INFO (info), FALSE);
g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), FALSE);
@@ -414,7 +410,7 @@ tumbler_file_info_array_copy (TumblerFileInfo **infos,
guint length)
{
TumblerFileInfo **copy;
- gint n;
+ guint n;
g_return_val_if_fail (infos != NULL, NULL);
diff --git a/tumbler/tumbler-thumbnail.c b/tumbler/tumbler-thumbnail.c
index b8b497a..e6686c8 100644
--- a/tumbler/tumbler-thumbnail.c
+++ b/tumbler/tumbler-thumbnail.c
@@ -154,19 +154,6 @@ tumbler_thumbnail_save_file (TumblerThumbnail *thumbnail,
-TumblerCache *
-tumbler_thumbnail_get_cache (TumblerThumbnail *thumbnail)
-{
- TumblerCache *cache = NULL;
-
- g_return_val_if_fail (TUMBLER_IS_THUMBNAIL (thumbnail), NULL);
-
- g_object_get (thumbnail, "cache", &cache, NULL);
- return cache;
-}
-
-
-
TumblerThumbnailFlavor *
tumbler_thumbnail_get_flavor (TumblerThumbnail *thumbnail)
{