--- libgnomeui/libgnomeuimm/dateedit.cc.orig Fri Aug 22 02:08:35 2003 +++ libgnomeui/libgnomeuimm/dateedit.cc Sat Aug 30 01:21:25 2003 @@ -35,7 +35,7 @@ : Gtk::HBox(GTK_HBOX(g_object_new(get_type(), (char*)0))) { gnome_date_edit_construct(gobj(), the_time, - static_cast( + GnomeDateEditFlags( (show_time ? DATE_EDIT_SHOW_TIME : static_cast(0)) | (use_24_format ? DATE_EDIT_24_HR : static_cast(0)) ) ); } @@ -44,7 +44,7 @@ DateEdit::DateEdit(time_t the_time, DateEditFlags flags) : Gtk::HBox(GTK_HBOX(g_object_new(get_type(), (char*)0))) { - gnome_date_edit_construct(gobj(), the_time, static_cast(flags)); + gnome_date_edit_construct(gobj(), the_time, GnomeDateEditFlags(flags)); } @@ -254,7 +254,7 @@ void DateEdit::set_flags(DateEditFlags flags) { - gnome_date_edit_set_flags(gobj(), static_cast(flags)); + gnome_date_edit_set_flags(gobj(), GnomeDateEditFlags(flags)); } DateEditFlags DateEdit::get_flags() const