but why it returns (GDateMonth - 1) ? It is not compatible with GDate !

It does not return the date in GDate format anyway, so the issue of incompatibility does not arise. As the prototype says, void gtk_calendar_get_date(GtkCalendar*, guint*, guint*, guint*);

I guess it is upto the user to get the dd-mm-yyyy and then
convert it to GDate, if such an API exists.

Raj
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to