application/application.c

changeset 94
7fdf1489b82f
parent 89
2fbb3cac05a5
child 95
e92c72705da4
equal deleted inserted replaced
93:5ee236155955 94:7fdf1489b82f
35 35
36 #include "window.h" 36 #include "window.h"
37 #include "config.h" 37 #include "config.h"
38 #include "davcontroller.h" 38 #include "davcontroller.h"
39 #include "settings.h" 39 #include "settings.h"
40 #include "appsettings.h"
40 41
41 static DavContext* davctx; 42 static DavContext* davctx;
42 43
43 static DavApp *app; 44 static DavApp *app;
44 45
57 if (load_config(davctx)) { 58 if (load_config(davctx)) {
58 // TODO: error 59 // TODO: error
59 exit(-1); 60 exit(-1);
60 } 61 }
61 62
63 appsettings_init();
62 window_init(); 64 window_init();
63 65
64 // create document for global settings (repolist, ...) 66 // create document for global settings (repolist, ...)
65 app = application_create_app_document(); 67 app = application_create_app_document();
66 UiContext *global = ui_global_context(); 68 UiContext *global = ui_global_context();

mercurial