Fix test.h with the new gui::Manager class.

This commit is contained in:
David Capello 2012-05-12 23:24:06 -03:00
parent bdce2c8b1f
commit 5963bb96d9

View File

@ -47,13 +47,12 @@ int main(int argc, char* argv[])
install_mouse(); install_mouse();
{ {
Jinete jinete; Jinete jinete;
Widget* manager = jmanager_new(); UniquePtr<gui::Manager> manager(new gui::Manager());
#endif #endif
exitcode = RUN_ALL_TESTS(); exitcode = RUN_ALL_TESTS();
#ifdef TEST_GUI #ifdef TEST_GUI
jmanager_free(manager);
} }
#endif #endif