[Xfce4-commits] <tumbler:jannis/specialized> Set "modified" of thumbnailers runtime registered to the current time.
Jannis Pohlmann
noreply at xfce.org
Tue Nov 3 01:44:02 CET 2009
Updating branch refs/heads/jannis/specialized
to 3b122767d1785131ce61bfefd2421762119e42fe (commit)
from ceeddb451c781915fcf1b68bd8477d657e15413e (commit)
commit 3b122767d1785131ce61bfefd2421762119e42fe
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Tue Nov 3 01:40:17 2009 +0100
Set "modified" of thumbnailers runtime registered to the current time.
tumblerd/tumbler-specialized-thumbnailer.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/tumblerd/tumbler-specialized-thumbnailer.c b/tumblerd/tumbler-specialized-thumbnailer.c
index 158e501..3345bca 100644
--- a/tumblerd/tumbler-specialized-thumbnailer.c
+++ b/tumblerd/tumbler-specialized-thumbnailer.c
@@ -416,16 +416,19 @@ tumbler_specialized_thumbnailer_new_foreign (DBusGConnection *connection,
const gchar *const *mime_types)
{
TumblerSpecializedThumbnailer *thumbnailer;
+ GTimeVal current_time;
g_return_val_if_fail (connection != NULL, NULL);
g_return_val_if_fail (name != NULL, NULL);
g_return_val_if_fail (uri_schemes != NULL, NULL);
g_return_val_if_fail (mime_types != NULL, NULL);
+ g_get_current_time (¤t_time);
+
thumbnailer = g_object_new (TUMBLER_TYPE_SPECIALIZED_THUMBNAILER,
"connection", connection, "foreign", TRUE, "name", name,
"uri-schemes", uri_schemes, "mime-types", mime_types,
- NULL);
+ "modified", current_time.tv_sec, NULL);
return TUMBLER_THUMBNAILER (thumbnailer);
}
More information about the Xfce4-commits
mailing list