Changeset 4042 in orxonox.OLD for orxonox/trunk/src/lib/gui
- Timestamp:
- May 4, 2005, 6:04:16 PM (20 years ago)
- Location:
- orxonox/trunk/src/lib/gui/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/gui/gui/orxonox_gui_exec.cc
r4041 r4042 64 64 this->quit = new Button("Quit"); 65 65 #ifdef HAVE_GTK2 66 this->quit->connectSignal("clicked", this, OrxonoxGuiExec::quit Orxonox);67 // Window::mainWindow->connectSignal("remove", this, OrxonoxGuiExec::quit Orxonox);68 Window::mainWindow->connectSignal("destroy", this, OrxonoxGuiExec::quit Orxonox);66 this->quit->connectSignal("clicked", this, OrxonoxGuiExec::quitGui); 67 // Window::mainWindow->connectSignal("remove", this, OrxonoxGuiExec::quitGui); 68 Window::mainWindow->connectSignal("destroy", this, OrxonoxGuiExec::quitGui); 69 69 #endif /* HAVE_GTK2 */ 70 70 this->execBox->fill(this->quit); … … 364 364 gtk_widget_destroy(Window::mainWindow->widget); 365 365 #else 366 quit Orxonox(widget, data);366 quitGui(widget, data); 367 367 #endif /* HAVE_GTK2 */ 368 368 … … 379 379 */ 380 380 #ifdef HAVE_GTK2 381 int OrxonoxGuiExec::quit Orxonox(GtkWidget* widget, void* data)381 int OrxonoxGuiExec::quitGui(GtkWidget* widget, void* data) 382 382 #else /* HAVE_GTK2 */ 383 int OrxonoxGuiExec::quit Orxonox(void* widget, void* data)383 int OrxonoxGuiExec::quitGui(void* widget, void* data) 384 384 #endif /* HAVE_GTK2 */ 385 385 { … … 389 389 #ifdef HAVE_GTK2 390 390 gtk_main_quit(); 391 #endif /* HAVE_GTK2 */ 392 } 391 while(gtk_events_pending()) gtk_main_iteration(); 392 #endif /* HAVE_GTK2 */ 393 } -
orxonox/trunk/src/lib/gui/gui/orxonox_gui_exec.h
r4026 r4042 51 51 #ifdef HAVE_GTK2 52 52 static int startOrxonox(GtkWidget *widget, void* data); 53 static int quit Orxonox(GtkWidget *widget, void* data);53 static int quitGui(GtkWidget *widget, void* data); 54 54 #else /* HAVE_GTK2 */ 55 55 static int startOrxonox(void* widget, void* data); 56 static int quit Orxonox(void* widget, void* data);56 static int quitGui(void* widget, void* data); 57 57 #endif /* HAVE_GTK2 */ 58 58 }; -
orxonox/trunk/src/lib/gui/gui/orxonox_gui_update.cc
r4037 r4042 487 487 pthread_cancel(*downloadThreadID); 488 488 #else 489 PRINTF(2)("Cannot cancle the Downloading process until after this File, because no threading was enabled ");489 PRINTF(2)("Cannot cancle the Downloading process until after this File, because no threading was enabled\n"); 490 490 #endif /* HAVE_PTHREAD_H*/ 491 491 }
Note: See TracChangeset
for help on using the changeset viewer.