diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-25 15:03:46 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-25 15:03:46 +0800 |
commit | f446063c572a9278fa3ce8e6b359c541ace68814 (patch) | |
tree | 6838d63be3bf113b1cad1d5c139151e289d41566 /widgets/misc/e-dateedit.c | |
parent | bcc58d8bc72d02a6a54f52fda53f7f4f1d192d6a (diff) | |
download | gsoc2013-evolution-f446063c572a9278fa3ce8e6b359c541ace68814.tar gsoc2013-evolution-f446063c572a9278fa3ce8e6b359c541ace68814.tar.gz gsoc2013-evolution-f446063c572a9278fa3ce8e6b359c541ace68814.tar.bz2 gsoc2013-evolution-f446063c572a9278fa3ce8e6b359c541ace68814.tar.lz gsoc2013-evolution-f446063c572a9278fa3ce8e6b359c541ace68814.tar.xz gsoc2013-evolution-f446063c572a9278fa3ce8e6b359c541ace68814.tar.zst gsoc2013-evolution-f446063c572a9278fa3ce8e6b359c541ace68814.zip |
Same as below.
2003-02-25 Jeffrey Stedfast <fejj@ximian.com>
* e-dateedit.c (on_date_popup_date_selected): Same as below.
* e-cell-date-edit.c (e_cell_date_edit_on_ok_clicked): Also
updated to use the new GDate API from glib 2.0
* test-calendar.c (on_selection_changed): Fixed to use glib 2.0's
GDate API.
* e-calendar-item.c (e_calendar_item_get_week_number): Port to
glib 2.0's GDate API.
(e_calendar_item_set_selection): Same.
* e-search-bar.c (append_xml_menu_item): Use
g_string_append_printf instead of g_string_sprintfa since the
latter is now deprecated.
(setup_bonobo_menus): Same.
* e-filter-bar.c (do_advanced): Use gtk_window_set_resizable()
* e-charset-picker.c: Fixes to make it build cleanly with
-DG_DISABLE_DEPRECATED
(add_charset): Escape _'s so we don't get underline weirdness due
to GtkLabel thinking the _ means to underline the next char.
(e_charset_picker_bonobo_ui_populate): Same here.
svn path=/trunk/; revision=20048
Diffstat (limited to 'widgets/misc/e-dateedit.c')
-rw-r--r-- | widgets/misc/e-dateedit.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/widgets/misc/e-dateedit.c b/widgets/misc/e-dateedit.c index 79982be307..a812c9d332 100644 --- a/widgets/misc/e-dateedit.c +++ b/widgets/misc/e-dateedit.c @@ -29,7 +29,10 @@ * time field with popups for entering a date. */ + +#ifdef HAVE_CONFIG_H #include <config.h> +#endif #include "e-dateedit.h" #include "e-util-marshal.h" @@ -1257,9 +1260,9 @@ on_date_popup_date_selected (ECalendarItem *calitem, if (!e_calendar_item_get_selection (calitem, &start_date, &end_date)) return; - e_date_edit_set_date (dedit, g_date_year (&start_date), - g_date_month (&start_date), - g_date_day (&start_date)); + e_date_edit_set_date (dedit, g_date_get_year (&start_date), + g_date_get_month (&start_date), + g_date_get_day (&start_date)); } |