GNOME Bugzilla – Bug 112838
GnomeDateEdit widget construction bug
Last modified: 2011-01-16 23:41:38 UTC
Hi, I'm trying to use GnomeDateEdit (libgnomeuimm-1.3.16) in the following code:- // get the time time_t the_time; time (&the_time); // build the dateedit Gnome::UI::DateEdit* m_local_dateedit = Gtk::manage(new Gnome::UI::DateEdit(the_time, false, false)); I'm getting the following warning when I create the object:- glibmm-WARNING **: Glib::ConstructParams::ConstructParams(): object class `gtkmm__GnomeDateEdit' has no property named `the_time' The widget is then rendered incorrectly with a time edit box and when I set a date or time with it I get some more warnings:- GLib-CRITICAL **: file gdate.c: line 269 (g_date_get_month): assertion `g_date_valid (d)' failed (nova:12715): GLib-CRITICAL **: file gdate.c: line 284 (g_date_get_year): assertion `g_date_valid (d)' failed (nova:12715): GLib-CRITICAL **: file gdate.c: line 299 (g_date_get_day): assertion `g_date_valid (d)' failed I dont think this is a bug in my implementation, but maybe a problem in the gnomeui wrapper ? Thanks
I think this should be fixed in cvs, but I haven't actually built it yet. Thanks.