X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/d7d153e01ab4d697635e6b165f8c509d6d21a3fc..2686d511ecfa9bdd0693fc3e1c8320e52188beb4:/Constructor/main.cpp diff --git a/Constructor/main.cpp b/Constructor/main.cpp index 67c3ffc..715de7f 100644 --- a/Constructor/main.cpp +++ b/Constructor/main.cpp @@ -1,9 +1,9 @@ -// g++ -Wall -g `pkg-config --cflags --libs libglademm-2.0` -o ventana main.cc ventana.cc +// g++ -Wall -g `pkg-config --cflags --libs libglademm-2.0` -o ventana main.cpp #include #include #include -#include "ventana.h" +#include "constructor.h" int main (int argc, char **argv) { Gtk::Main kit(argc, argv); @@ -19,10 +19,9 @@ int main (int argc, char **argv) std::cerr << ex.what() << std::endl; return 1; } - - Ventana* pWindow = 0; - refXml->get_widget_derived("window1", pWindow); - pWindow->set_title("Una ventana posta"); - kit.run(*pWindow); + Constructor* pWindow = 0; + refXml->get_widget_derived("wnd_constructor", pWindow); + + kit.run(*pWindow); return 0; }