[Xfce4-commits] r29920 - in thunar/branches/migration-to-gio: . thunar
Jannis Pohlmann
jannis at xfce.org
Thu Apr 30 15:07:12 CEST 2009
Author: jannis
Date: 2009-04-30 13:07:11 +0000 (Thu, 30 Apr 2009)
New Revision: 29920
Modified:
thunar/branches/migration-to-gio/ChangeLog
thunar/branches/migration-to-gio/thunar/thunar-util.c
thunar/branches/migration-to-gio/thunar/thunar-util.h
Log:
* thunar/thunar-util.{c,h}: Replace ThunarVfsFileTime with guint64.
Modified: thunar/branches/migration-to-gio/ChangeLog
===================================================================
--- thunar/branches/migration-to-gio/ChangeLog 2009-04-30 13:04:36 UTC (rev 29919)
+++ thunar/branches/migration-to-gio/ChangeLog 2009-04-30 13:07:11 UTC (rev 29920)
@@ -1,5 +1,9 @@
2009-04-30 Jannis Pohlmann <jannis at xfce.org>
+ * thunar/thunar-util.{c,h}: Replace ThunarVfsFileTime with guint64.
+
+2009-04-30 Jannis Pohlmann <jannis at xfce.org>
+
* thunar/thunar-file.{c,h}, thunar/thunar-properties-dialog.c:
Re-implement thunar_file_get_volume() around
g_file_find_enclosing_mount(). Ideally this would be asynchronous
Modified: thunar/branches/migration-to-gio/thunar/thunar-util.c
===================================================================
--- thunar/branches/migration-to-gio/thunar/thunar-util.c 2009-04-30 13:04:36 UTC (rev 29919)
+++ thunar/branches/migration-to-gio/thunar/thunar-util.c 2009-04-30 13:07:11 UTC (rev 29920)
@@ -158,7 +158,7 @@
/**
* thunar_util_humanize_file_time:
- * @file_time : a #ThunarVfsFileTime.
+ * @file_time : a #guint64 timestamp.
* @date_format : the #ThunarDateFormat used to humanize the @file_time.
*
* Returns a human readable date representation of the specified
@@ -169,8 +169,8 @@
* according to the @date_format.
**/
gchar*
-thunar_util_humanize_file_time (ThunarVfsFileTime file_time,
- ThunarDateStyle date_style)
+thunar_util_humanize_file_time (guint64 file_time,
+ ThunarDateStyle date_style)
{
const gchar *date_format;
struct tm *tfile;
Modified: thunar/branches/migration-to-gio/thunar/thunar-util.h
===================================================================
--- thunar/branches/migration-to-gio/thunar/thunar-util.h 2009-04-30 13:04:36 UTC (rev 29919)
+++ thunar/branches/migration-to-gio/thunar/thunar-util.h 2009-04-30 13:07:11 UTC (rev 29920)
@@ -21,24 +21,22 @@
#ifndef __THUNAR_UTIL_H__
#define __THUNAR_UTIL_H__
-#include <thunar-vfs/thunar-vfs.h>
-
#include <thunar/thunar-enum-types.h>
G_BEGIN_DECLS;
gboolean thunar_util_looks_like_an_uri (const gchar *string) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
-gchar *thunar_util_expand_filename (const gchar *filename,
- GError **error);
+gchar *thunar_util_expand_filename (const gchar *filename,
+ GError **error);
-gchar *thunar_util_humanize_file_time (ThunarVfsFileTime file_time,
- ThunarDateStyle date_style) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
+gchar *thunar_util_humanize_file_time (guint64 file_time,
+ ThunarDateStyle date_style) G_GNUC_INTERNAL G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT;
-GdkScreen *thunar_util_parse_parent (gpointer parent,
- GtkWindow **window_return) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
+GdkScreen *thunar_util_parse_parent (gpointer parent,
+ GtkWindow **window_return) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
-time_t thunar_util_time_from_rfc3339 (const gchar *date_string) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
+time_t thunar_util_time_from_rfc3339 (const gchar *date_string) G_GNUC_INTERNAL G_GNUC_WARN_UNUSED_RESULT;
G_END_DECLS;
More information about the Xfce4-commits
mailing list