Re: Combo box investigation + proposed new API

Havoc Pennington wrote:
> Kristian Rietveld <kristian planet nl> writes:
> >
> > For the function which will get all the strings from the popdown I
> > propose:
> >
> > const gchar **gtk_combo_box_text_get_strings ( GtkComboBoxText *cboxtext
> > );
> I would instead return an allocated copy of the array, or an allocated
> list. If you do const gchar** you're locked into an implementation
> that stores the strings as an array.

How's that such a bad thing?


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