From: Nicolás Dimov Date: Fri, 17 Oct 2003 04:13:11 +0000 (+0000) Subject: compilo y anduvosvn up! groso X-Git-Tag: svn_import~420 X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/commitdiff_plain/d9556426e85743ed9aa3dad04cea4bbeebfeb4c6?ds=sidebyside compilo y anduvosvn up! groso --- diff --git a/Constructor/ventana b/Constructor/ventana index 6116fa3..26e0935 100755 Binary files a/Constructor/ventana and b/Constructor/ventana differ diff --git a/Constructor/ventana.cpp b/Constructor/ventana.cpp index d175fc9..24dfe61 100644 --- a/Constructor/ventana.cpp +++ b/Constructor/ventana.cpp @@ -3,7 +3,8 @@ Ventana::Ventana(BaseObjectType* cobject, const Glib::RefPtr& refGlade): Gtk::Window(cobject) { - btn_salir.signal_released().connect(SigC::slot(*this,&Ventana::on_btn_salir_pressed )); + refGlade->get_widget("button9", btn_salir); + btn_salir->signal_released().connect(SigC::slot(*this,&Ventana::on_btn_salir_pressed )); } Ventana::~Ventana() diff --git a/Constructor/ventana.h b/Constructor/ventana.h index 8c47dd9..8151ce1 100644 --- a/Constructor/ventana.h +++ b/Constructor/ventana.h @@ -11,7 +11,7 @@ class Ventana: public Gtk::Window Ventana(BaseObjectType* cobject, const Glib::RefPtr& refGlade); virtual ~Ventana(); protected: - Gtk::Button btn_salir; + Gtk::Button* btn_salir; virtual void on_btn_salir_pressed(); };