After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 112838 - GnomeDateEdit widget construction bug
GnomeDateEdit widget construction bug
Status: RESOLVED FIXED
Product: libgnomeuimm
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-05-12 14:32 UTC by Liam Girdwood
Modified: 2011-01-16 23:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Liam Girdwood 2003-05-12 14:32:46 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
Comment 1 Murray Cumming 2003-05-18 12:51:41 UTC
I think this should be fixed in cvs, but I haven't actually built it
yet. Thanks.