aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-dateedit.c17
-rw-r--r--widgets/misc/e-dateedit.h3
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);