diff options
-rw-r--r-- | widgets/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.c | 9 | ||||
-rw-r--r-- | widgets/misc/e-dateedit.h | 2 |
3 files changed, 16 insertions, 0 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog index a3f2f194cb..cf7947e924 100644 --- a/widgets/ChangeLog +++ b/widgets/ChangeLog @@ -1,3 +1,8 @@ +2005-01-18 Hao Sheng <hao.sheng@sun.com> + + * misc/e-dateedit.[ch]: + (e_date_edit_get_entry): return the entry of the date edit. + 2004-11-12 JP Rosevear <jpr@novell.com> * menus/gal-view-menus.c: Convert to G_DEFINE_TYPE diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index be244861cf..58962c2cb7 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -2002,3 +2002,12 @@ e_date_edit_set_get_time_callback (EDateEdit *dedit, } +GtkWidget * +e_date_edit_get_entry (EDateEdit *dedit) +{ + EDateEditPrivate *priv; + priv = dedit->priv; + + return GTK_WIDGET(priv->date_entry); +} + diff --git a/widgets/misc/e-dateedit.h b/widgets/misc/e-dateedit.h index 1fa14b95c8..c8ee3f2832 100644 --- a/widgets/misc/e-dateedit.h +++ b/widgets/misc/e-dateedit.h @@ -175,4 +175,6 @@ void e_date_edit_set_get_time_callback (EDateEdit *dedit, gpointer data, GtkDestroyNotify destroy); +GtkWidget* e_date_edit_get_entry (EDateEdit *dedit); + #endif |