Re: Forming reference to reference
- From: "Murray Cumming" <murrayc murrayc com>
- To: "Surya Kiran Gullapalli" <skg fluent co in>
- Cc: gtkmm-list gnome org
- Subject: Re: Forming reference to reference
- Date: Mon, 12 Sep 2005 13:16:42 +0200 (CEST)
> Hi,
> I've recently updated gnome 2.10 to 2.12, and my small application,
> which was using old gtkmm, now not working.
>
> Thanks to sigc in this respect.
>
> I've this function call for CellRendererText,
> ==================
> signal_edited ().connect (sigc::bind<Gtk::Widget&>
> (sigc::mem_fun (*this, &CXCellRendererText::editing_over),
> widget)) ;
> ===================
> where widget is Gtk::Widget&.
>
> The compile error i'm getting is
>
>
> sigc++-2.0/sigc++/adaptors/bound_argument.h:57: error: forming reference
> to reference type `Gtk::Widget&'
> sigc++-2.0/sigc++/adaptors/bound_argument.h:64: error: forming reference
> to reference type `Gtk::Widget&'
> sigc++-2.0/sigc++/adaptors/bound_argument.h:70: error: forming reference
> to reference type `Gtk::Widget&'
This looks like it is caused by a change of compiler rather than a change
of GNOME libraries. I guess it might be due to an updated libsigc++.
I don't think it's a particularly good idea to use sigc::bind() with
references anyway.
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]