Changeset 571fab7
- Timestamp:
- Jun 3, 2010, 2:45:28 AM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 4dd115f
- Parents:
- f70a7a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
global.c
r40597e7 r571fab7 13 13 #define MAXHOSTNAMELEN 256 14 14 #endif 15 16 static void _owl_global_init_windows(owl_global *g); 15 17 16 18 void owl_global_init(owl_global *g) { … … 80 82 g->nextmsgid=0; 81 83 82 owl_mainpanel_init(&(g->mainpanel));83 84 84 /* Fill in some variables which don't have constant defaults */ 85 85 /* TODO: come back later and check passwd file first */ … … 93 93 94 94 owl_messagelist_create(&(g->msglist)); 95 owl_mainwin_init(&(g->mw), g->mainpanel.recwin); 96 owl_popwin_init(&(g->pw)); 97 owl_msgwin_init(&(g->msgwin), g->mainpanel.msgwin); 98 owl_sepbar_init(g->mainpanel.sepwin); 95 96 _owl_global_init_windows(g); 99 97 100 98 g->aim_screenname=NULL; … … 121 119 g->timerlist = NULL; 122 120 g->interrupted = FALSE; 121 } 122 123 static void _owl_global_init_windows(owl_global *g) 124 { 125 /* Create the main window */ 126 owl_mainpanel_init(&(g->mainpanel)); 127 128 /* Create the widgets */ 129 owl_mainwin_init(&(g->mw), g->mainpanel.recwin); 130 owl_popwin_init(&(g->pw)); 131 owl_msgwin_init(&(g->msgwin), g->mainpanel.msgwin); 132 owl_sepbar_init(g->mainpanel.sepwin); 123 133 124 134 /* set up a pad for input */
Note: See TracChangeset
for help on using the changeset viewer.