Changeset 442

Show
Ignore:
Timestamp:
03/01/2008 00:49:42 (6 months ago)
Author:
why
Message:
  • shoes/world.c: move the gtk_init to the beginning, to allow earlier dialog boxes.
Location:
trunk/shoes
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/shoes/app.c

    r439 r442  
    14671467  shoes_slot_gtk *gs = &app->slot; 
    14681468 
    1469   gtk_init(NULL, NULL); 
    1470  
    14711469  gtk_window_set_default_icon_from_file("static/shoes-icon.png", NULL); 
    14721470  gk->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); 
  • trunk/shoes/world.c

    r441 r442  
    3636shoes_init(SHOES_INIT_ARGS) 
    3737{ 
     38#ifdef SHOES_GTK 
     39  gtk_init(NULL, NULL); 
     40#endif 
    3841#ifdef SHOES_WIN32 
    3942  INITCOMMONCONTROLSEX InitCtrlEx;