Changeset 1647 for trunk/gtk/main.c


Ignore:
Timestamp:
Apr 3, 2007, 8:18:53 AM (15 years ago)
Author:
joshe
Message:

Make evil initial window sizing magic a bit less evil and a bit less magic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r1615 r1647  
    424424    updatemodel( cbdata );
    425425
    426     /* this shows the window */
    427     tr_window_size_hack( wind );
    428 
    429426    /* set up the ipc socket now that we're ready to get torrents from it */
    430427    ipc_socket_setup( GTK_WINDOW( wind ), addtorrents, wannaquit, cbdata );
     428
     429    /* show the window */
     430    tr_window_show( wind );
    431431}
    432432
     
    470470    win = tr_window_new();
    471471    winsetup( cbdata, TR_WINDOW( win ) );
    472 
    473     /* this shows the window */
    474     tr_window_size_hack( TR_WINDOW( win ) );
     472    tr_window_show( TR_WINDOW( win ) );
    475473}
    476474
Note: See TracChangeset for help on using the changeset viewer.