Re: gtk_text_view_set_window_size()



Havoc Pennington <hp redhat com> writes:

> Owen Taylor <otaylor redhat com> writes:
> >   if (text_view->layout)
> >     {
> >       text_view->text_window->requisition.width = text_view->layout->width;
> >       text_view->text_window->requisition.height = text_view->layout->height;
> >     }
> >   else
> >     {
> >       text_view->text_window->requisition.width = 0;
> >       text_view->text_window->requisition.height = 0;
> >     }
> 
> This size_request code used to use the text window size instead of
> setting it I think.  (Text window size used to just default to 200x200
> remember and you could set it to another size, then we decided to make
> it match the scrollable area as with clist.)

So is the right action here to simply remove gtk_text_view_set_window_size()?

Regards,
                                        Owen




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