diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-07-18 22:09:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-07-18 22:54:28 +0800 |
commit | fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62 (patch) | |
tree | 7f2ae44cbd97567407f3f4508a66c3a96957161e /widgets | |
parent | 63e74f2171125b30b589da22e6a25e02ee3d0240 (diff) | |
download | gsoc2013-evolution-fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62.tar gsoc2013-evolution-fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62.tar.gz gsoc2013-evolution-fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62.tar.bz2 gsoc2013-evolution-fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62.tar.lz gsoc2013-evolution-fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62.tar.xz gsoc2013-evolution-fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62.tar.zst gsoc2013-evolution-fb9ecaeaa707c0d3c05fb3bfdcc41539f8c36f62.zip |
Remove unused e_date_edit_have_time().
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-dateedit.c | 17 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.h | 3 |
2 files changed, 0 insertions, 20 deletions
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 3867676065..7418a7f4a9 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -2227,23 +2227,6 @@ e_date_edit_time_is_valid (EDateEdit *dedit) return TRUE; } -/** - * e_date_edit_have_time - * @dedit: an #EDateEdit - * - * Check if time is set, i.e. it isn't 'None'/empty. Date can be set in - * this case. - * - * Returns: %TRUE is time is set, %FALSE otherwise. - **/ -gboolean -e_date_edit_have_time (EDateEdit *dedit) -{ - g_return_val_if_fail (dedit != NULL, FALSE); - - return !dedit->priv->date_set_to_none && !dedit->priv->time_set_to_none; -} - static gboolean e_date_edit_set_date_internal (EDateEdit *dedit, gboolean valid, diff --git a/widgets/misc/e-dateedit.h b/widgets/misc/e-dateedit.h index 4f8bee1b95..ea08345c37 100644 --- a/widgets/misc/e-dateedit.h +++ b/widgets/misc/e-dateedit.h @@ -101,9 +101,6 @@ void e_date_edit_set_editable (EDateEdit *dedit, gboolean e_date_edit_date_is_valid (EDateEdit *dedit); gboolean e_date_edit_time_is_valid (EDateEdit *dedit); -/* Returns TRUE if time was set, FALSE otherwise. */ -gboolean e_date_edit_have_time (EDateEdit *dedit); - /* Returns the last valid date & time set, or -1 if the date & time was set to * 'None' and this is permitted via e_date_edit_set_allow_no_date_set. */ time_t e_date_edit_get_time (EDateEdit *dedit); |