aboutsummaryrefslogtreecommitdiffstats
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
parent8cf036faffe5985d34c310ee89b133200380b757 (diff)
downloadgsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.tar
gsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.tar.gz
gsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.tar.bz2
gsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.tar.lz
gsoc2013-evolution-dfb0db749801075ba67e24ac44de8fe9ac2ae2cc.tar.xz
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.
-rw-r--r--calendar/gui/e-meeting-time-sel.c1
-rw-r--r--e-util/e-dialog-widgets.c34
-rw-r--r--e-util/e-dialog-widgets.h3
3 files changed, 0 insertions, 38 deletions
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index 25c8a86b97..4bf44eb6e1 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -32,7 +32,6 @@
#include <string.h>
#include <time.h>
#include <gdk/gdkkeysyms.h>
-#include <libgnomeui/gnome-dateedit.h>
#include <glib/gi18n.h>
#include <libgnomecanvas/gnome-canvas-widget.h>
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.
diff --git a/e-util/e-dialog-widgets.h b/e-util/e-dialog-widgets.h
index 1a46c02fd3..f5ff123a4f 100644
--- a/e-util/e-dialog-widgets.h
+++ b/e-util/e-dialog-widgets.h
@@ -46,9 +46,6 @@ int e_dialog_spin_get_int (GtkWidget *widget);
void e_dialog_combo_box_set (GtkWidget *widget, int value, const int *value_map);
int e_dialog_combo_box_get (GtkWidget *widget, const int *value_map);
-void e_dialog_dateedit_set (GtkWidget *widget, time_t t);
-time_t e_dialog_dateedit_get (GtkWidget *widget);
-
gboolean e_dialog_widget_hook_value (GtkWidget *dialog, GtkWidget *widget,
gpointer value_var, gpointer info);