aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-dialog-widgets.c
diff options
context:
space:
mode:
authorAdam Petaccia <adam@tpetaccia.com>2009-05-07 01:28:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-07 01:28:18 +0800
commitdfb0db749801075ba67e24ac44de8fe9ac2ae2cc (patch)
treec5dbd2633f10b4ba9dda6b809d85c0916485c00d /e-util/e-dialog-widgets.c
parent8cf036faffe5985d34c310ee89b133200380b757 (diff)
downloadgsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.tar.gz
gsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.tar.zst
gsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.zip
Bug 580900 – Kill libgnomeui/gnome-dateedit
Remove unnecessary <libgnomeui/gnome-dateedit.h> includes, and kill the unused e_dialog_dateedit_set() and e_dialog_dateedit_get() functions.
Diffstat (limited to 'e-util/e-dialog-widgets.c')
-rw-r--r--e-util/e-dialog-widgets.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/e-util/e-dialog-widgets.c b/e-util/e-dialog-widgets.c
index afe50a85b4..f1777ca55d 100644
--- a/e-util/e-dialog-widgets.c
+++ b/e-util/e-dialog-widgets.c
@@ -28,7 +28,6 @@
#include <string.h>
#include <time.h>
#include <gtk/gtk.h>
-#include <libgnomeui/gnome-dateedit.h>
#include "e-dialog-widgets.h"
@@ -499,39 +498,6 @@ e_dialog_combo_box_get (GtkWidget *widget, const int *value_map)
}
/**
- * e_dialog_dateedit_set:
- * @widget: A #GnomeDateEdit widget.
- * @t: Date/time value.
- *
- * Sets the value of a #GnomeDateEdit widget.
- **/
-void
-e_dialog_dateedit_set (GtkWidget *widget, time_t t)
-{
- g_return_if_fail (widget != NULL);
- g_return_if_fail (GNOME_IS_DATE_EDIT (widget));
-
- gnome_date_edit_set_time (GNOME_DATE_EDIT (widget), t);
-}
-
-/**
- * e_dialog_dateedit_get:
- * @widget: A #GnomeDateEdit widget.
- *
- * Queries the value of a #GnomeDateEdit widget.
- *
- * Return value: Date/time value.
- **/
-time_t
-e_dialog_dateedit_get (GtkWidget *widget)
-{
- g_return_val_if_fail (widget != NULL, -1);
- g_return_val_if_fail (GNOME_IS_DATE_EDIT (widget), -1);
-
- return gnome_date_edit_get_time (GNOME_DATE_EDIT (widget));
-}
-
-/**
* e_dialog_widget_hook_value:
* @dialog: Dialog box in which the @widget lives in.
* @widget: A widget that will control a variable.