Re: [gtkmm] error on signal_size_allocate().connect(sigc::mem_fun(*this, &TextWidget::onResize))



On Thu, 2004-04-29 at 01:04, Casey Harkins wrote:
> I apologize for the lengthy subject, but I'm not exactly sure what the 
> problem is. I'm updating a gtkmm based project (lostirc) to work with 
> gtkmm 2.4. I'm stuck on one last problem. I am not subscribed to this 
> list, so please keep me cc'ed in any replies.
> 
> The problem occurs in a class:
> 
>     class TextWidget : public Gtk::ScrolledWindow
> 
> 
> The offending line is:
> 
>     get_vscrollbar()->signal_size_allocate()
>        .connect(sigc::mem_fun(*this, &TextWidget::onResize));
> 
> 
> The onResize method:
> 
>     void TextWidget::onResize(GtkAllocation *alloc)

The parameter type has probably changed from GtkAllocation* to
Gtk::Allocation*.

-- 
Murray Cumming
www.murrayc.com
murrayc murrayc com




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