aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-time.h
diff options
context:
space:
mode:
authorMarco Barisione <marco.barisione@collabora.co.uk>2013-07-29 16:32:09 +0800
committerMarco Barisione <marco.barisione@collabora.co.uk>2013-08-20 18:03:05 +0800
commit59d0c113fdf2e565f512c98334a1808cfd216fa9 (patch)
tree6298463ab4aa96a3ad12448387e4e0edc97089df /libempathy/empathy-time.h
parent1f633bf20747995395b1dcc7001e0c9502104eda (diff)
downloadgsoc2013-empathy-59d0c113fdf2e565f512c98334a1808cfd216fa9.tar
gsoc2013-empathy-59d0c113fdf2e565f512c98334a1808cfd216fa9.tar.gz
gsoc2013-empathy-59d0c113fdf2e565f512c98334a1808cfd216fa9.tar.bz2
gsoc2013-empathy-59d0c113fdf2e565f512c98334a1808cfd216fa9.tar.lz
gsoc2013-empathy-59d0c113fdf2e565f512c98334a1808cfd216fa9.tar.xz
gsoc2013-empathy-59d0c113fdf2e565f512c98334a1808cfd216fa9.tar.zst
gsoc2013-empathy-59d0c113fdf2e565f512c98334a1808cfd216fa9.zip
time: move from Empathy to tp-account-widgets
https://bugzilla.gnome.org/show_bug.cgi?id=699492
Diffstat (limited to 'libempathy/empathy-time.h')
-rw-r--r--libempathy/empathy-time.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/libempathy/empathy-time.h b/libempathy/empathy-time.h
deleted file mode 100644
index fc7af28e3..000000000
--- a/libempathy/empathy-time.h
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Copyright (C) 2004 Imendio AB
- * Copyright (C) 2007-2012 Collabora Ltd.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
- */
-
-#ifndef __EMPATHY_TIME_H__
-#define __EMPATHY_TIME_H__
-
-#ifndef __USE_XOPEN
-#define __USE_XOPEN
-#endif
-#include <time.h>
-#include <glib.h>
-
-G_BEGIN_DECLS
-
-/* FIXME: ideally we should only display the hour and minutes but
- * there is no localized format for that (bgo #668323) */
-#define EMPATHY_TIME_FORMAT_DISPLAY_SHORT "%X"
-#define EMPATHY_DATE_FORMAT_DISPLAY_SHORT "%a %d %b %Y"
-#define EMPATHY_TIME_DATE_FORMAT_DISPLAY_SHORT "%a %d %b %Y, %X"
-
-gint64 empathy_time_get_current (void);
-gchar *empathy_time_to_string_utc (gint64 t,
- const gchar *format);
-gchar *empathy_time_to_string_local (gint64 t,
- const gchar *format);
-gchar *empathy_time_to_string_relative (gint64 t);
-gchar *empathy_duration_to_string (guint seconds);
-
-G_END_DECLS
-
-#endif /* __EMPATHY_TIME_H__ */
-