Bug in GtkCalendar?



        God day,
        Developers.

        Strange thing with GtkCalendar (GTK+ 2.2.1, GLib 2.2.1):

        when I retrieve date:

        /********/
        guint year, month, day;

        gtk_calendar_get_date (calendar, &year, &month, &day);
        /********/

        variable month is always -1. eg. January = 0, February = 1, ...,
December = 11?

        Is this a bug, or I'm doing something wrong?

        Thanks,
        Vladimir.


-- 
"This is it... This is where I belong..."





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]