[Glade-users] dateedit - scratch that



Alef T Veld wrote:

I think that's fixed.
But what does

gboolean    gtk_calendar_mark_day           (GtkCalendar *calendar,
                                            guint day);

want for day? a tstruct->tm_mday or a &tstruct->tm_day ?

Value, not a pointer: tstruct->tm_mday. 'guint' type means: 'unsigned 
int'. With '&' operator you're getting a pointer in C, so 
&tstruct->tm_mday is of type 'int*'.

    Olexiy






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