Changeset 3263 in orxonox.OLD for orxonox/branches/updater/src/gui/orxonox_gui_gtk.cc
- Timestamp:
- Dec 24, 2004, 1:15:38 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/updater/src/gui/orxonox_gui_gtk.cc
r3259 r3263 47 47 bool initGTK(int argc, char *argv[]) 48 48 { 49 #ifdef HAVE_GTHREAD 50 PRINTF(3)("Initializing the ThreadSystem of the GUI\n"); 51 g_thread_init(NULL); 52 gdk_threads_init(); 53 #endif /* HAVE_GTHREAD */ 49 54 gtk_init (&argc, &argv); 50 55 gtk_rc_parse( "rc" ); … … 56 61 bool mainloopGTK(void) 57 62 { 63 gdk_threads_enter(); 64 PRINTF(1)("test\n"); 58 65 gtk_main(); 66 gdk_threads_leave(); 59 67 } 60 68 #endif /* HAVE_GTK2 */ … … 529 537 this->init(); 530 538 } 539 531 540 /** 532 541 \brief Creates a new EventBox with name title … … 1204 1213 gtk_progress_set_value(GTK_PROGRESS(widget), this->progress*100.0/this->totalSize); 1205 1214 #endif /* HAVE_GTK2 */ 1215 PRINTF(3)("Progress: %f\n", progress*100.0/totalSize); 1216 1206 1217 } 1207 1218
Note: See TracChangeset
for help on using the changeset viewer.