aboutsummaryrefslogtreecommitdiff
path: root/src/core/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/main.c')
-rw-r--r--src/core/main.c18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 6bf5225e..3f3c8cea 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -19,16 +19,13 @@
19*/ 19*/
20 20
21/** 21/**
22 * @file src/main.c 22 * @file src/core/main.c
23 * @brief Main function of gnunet-gtk 23 * @brief Main function of gnunet-gtk
24 * @author Christian Grothoff 24 * @author Christian Grothoff
25 */ 25 */
26 26
27#include "config.h" 27#include "platform.h"
28#include "gettext.h" 28#include "gnunetgtk_common.h"
29
30#include <GNUnet/gnunet_util.h>
31#include "helper.h"
32 29
33/** 30/**
34 * Prints the usage information for this command if the user errs. 31 * Prints the usage information for this command if the user errs.
@@ -200,9 +197,7 @@ int main(int argc,
200 &parseOptions)) 197 &parseOptions))
201 return 0; 198 return 0;
202 startCron(); 199 startCron();
203 gtkInitSaveCalls(); 200 initGNUnetGTKCommon();
204
205 initGlade();
206 root 201 root
207 = glade_xml_get_widget(getMainXML(), 202 = glade_xml_get_widget(getMainXML(),
208 "mainWindow"); 203 "mainWindow");
@@ -237,9 +232,8 @@ int main(int argc,
237 unloadPlugin(plugin); 232 unloadPlugin(plugin);
238 plugin = next; 233 plugin = next;
239 } 234 }
240 235
241 gtkDoneSaveCalls(); 236 doneGNUnetGTKCommon();
242 doneGlade();
243 doneUtil(); 237 doneUtil();
244 238
245 return 0; 239 return 0;