[sigc] is it a bug?
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: libsigc-list gnome org
- Subject: [sigc] is it a bug?
- Date: Sun, 6 Aug 2006 02:32:05 +0300
Does the example below show a bug? It compiles without errors here.
(sigc++ 2.0.10, Gtkmm 2.4.10, GCC 3.3 and 4.0.)
Paul
#include <sigc++/sigc++.h>
#include <glibmm/refptr.h>
#include <gtkmm/notebook.h>
int
main (int argc, char** argv)
{
Gtk::Notebook* notebook = new Gtk::Notebook ();
sigc::slot <void, const Glib::RefPtr <Gtk::Notebook>&> slot
= sigc::mem_fun (notebook, &Gtk::Notebook::set_current_page);
return 0;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]