ui/motif/toolkit.c

changeset 30
34513f76d5a8
parent 29
c96169444d88
child 34
0ec8a5f17782
equal deleted inserted replaced
29:c96169444d88 30:34513f76d5a8
57 XtToolkitInitialize(); 57 XtToolkitInitialize();
58 XtSetLanguageProc(NULL, NULL, NULL); 58 XtSetLanguageProc(NULL, NULL, NULL);
59 app = XtCreateApplicationContext(); 59 app = XtCreateApplicationContext();
60 60
61 display = XtOpenDisplay(app, NULL, appname, appname, NULL, 0, &argc, argv); 61 display = XtOpenDisplay(app, NULL, appname, appname, NULL, 0, &argc, argv);
62 char **missing = NULL;
63 int nm = 0;
64 char *def = NULL;
65 XCreateFontSet(display, "-dt-interface system-medium-r-normal-s*utf*", &missing, &nm, &def);
62 66
63 uic_docmgr_init(); 67 uic_docmgr_init();
64 ui_toolbar_init(); 68 ui_toolbar_init();
65 ui_stock_init(); 69 ui_stock_init();
66 70

mercurial