diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/helper.c | 14 | ||||
-rw-r--r-- | src/core/main.c | 1 | ||||
-rw-r--r-- | src/plugins/daemon/Makefile.am | 1 | ||||
-rw-r--r-- | src/plugins/fs/Makefile.am | 3 |
4 files changed, 15 insertions, 4 deletions
diff --git a/src/common/helper.c b/src/common/helper.c index 6b89131b..a176eecc 100644 --- a/src/common/helper.c +++ b/src/common/helper.c | |||
@@ -375,6 +375,8 @@ void initGNUnetGTKCommon(struct GE_Context * e, | |||
375 | struct GC_Configuration * c, | 375 | struct GC_Configuration * c, |
376 | void * callback) { | 376 | void * callback) { |
377 | char * load; | 377 | char * load; |
378 | char * path; | ||
379 | char * filename; | ||
378 | 380 | ||
379 | ectx = e; | 381 | ectx = e; |
380 | cfg = c; | 382 | cfg = c; |
@@ -384,13 +386,19 @@ void initGNUnetGTKCommon(struct GE_Context * e, | |||
384 | saveCallsUp = YES; | 386 | saveCallsUp = YES; |
385 | 387 | ||
386 | /* load the interface */ | 388 | /* load the interface */ |
387 | #ifdef MINGW | 389 | path = os_get_installation_path(IPK_DATADIR); |
390 | filename = MALLOC(strlen(path) + strlen("/../gnunet-gtk/gnunet-gtk.glade") + 2); | ||
391 | strcpy(filename, path); | ||
392 | FREE(path); | ||
393 | strcat(filename, "/../gnunet-gtk/gnunet-gtk.glade"); | ||
394 | #if MINGW | ||
388 | gladeFile = MALLOC(_MAX_PATH + 1); | 395 | gladeFile = MALLOC(_MAX_PATH + 1); |
389 | plibc_conv_to_win_path(PACKAGE_DATA_DIR"/gnunet-gtk.glade", | 396 | plibc_conv_to_win_path(filename, |
390 | gladeFile); | 397 | gladeFile); |
391 | #else | 398 | #else |
392 | gladeFile = STRDUP(PACKAGE_DATA_DIR"/gnunet-gtk.glade"); | 399 | gladeFile = STRDUP(filename); |
393 | #endif | 400 | #endif |
401 | FREE(filename); | ||
394 | 402 | ||
395 | mainXML = glade_xml_new(gladeFile, | 403 | mainXML = glade_xml_new(gladeFile, |
396 | "mainWindow", | 404 | "mainWindow", |
diff --git a/src/core/main.c b/src/core/main.c index 60f807aa..69cb1117 100644 --- a/src/core/main.c +++ b/src/core/main.c | |||
@@ -98,7 +98,6 @@ int main(int argc, | |||
98 | GNUNET_fini(ectx, cfg); | 98 | GNUNET_fini(ectx, cfg); |
99 | return -1; | 99 | return -1; |
100 | } | 100 | } |
101 | |||
102 | #ifdef WINDOWS | 101 | #ifdef WINDOWS |
103 | if (!debug_mode) | 102 | if (!debug_mode) |
104 | FreeConsole(); | 103 | FreeConsole(); |
diff --git a/src/plugins/daemon/Makefile.am b/src/plugins/daemon/Makefile.am index 822e06ab..2c06164d 100644 --- a/src/plugins/daemon/Makefile.am +++ b/src/plugins/daemon/Makefile.am | |||
@@ -15,6 +15,7 @@ libgnunetgtkmodule_daemon_la_LIBADD = \ | |||
15 | @GTK_LIBS@ @GNUNETGTK_LIBS@ \ | 15 | @GTK_LIBS@ @GNUNETGTK_LIBS@ \ |
16 | $(top_builddir)/src/common/libgnunetgtk_common.la \ | 16 | $(top_builddir)/src/common/libgnunetgtk_common.la \ |
17 | -lgnunetutil \ | 17 | -lgnunetutil \ |
18 | -lgnunetutil_cron \ | ||
18 | -lgnunetgetoption_api | 19 | -lgnunetgetoption_api |
19 | libgnunetgtkmodule_daemon_la_LDFLAGS = \ | 20 | libgnunetgtkmodule_daemon_la_LDFLAGS = \ |
20 | -export-dynamic -avoid-version -module | 21 | -export-dynamic -avoid-version -module |
diff --git a/src/plugins/fs/Makefile.am b/src/plugins/fs/Makefile.am index 894a1529..ee8a6b49 100644 --- a/src/plugins/fs/Makefile.am +++ b/src/plugins/fs/Makefile.am | |||
@@ -26,7 +26,10 @@ libgnunetgtkmodule_fs_la_LIBADD = \ | |||
26 | -lgthread-2.0 \ | 26 | -lgthread-2.0 \ |
27 | -lextractor \ | 27 | -lextractor \ |
28 | -lgnunetutil \ | 28 | -lgnunetutil \ |
29 | -lgnunetcollection \ | ||
29 | -lgnunetfsui \ | 30 | -lgnunetfsui \ |
31 | -lgnunetnamespace \ | ||
32 | -lgnuneturitrack \ | ||
30 | -lgnunetecrs | 33 | -lgnunetecrs |
31 | libgnunetgtkmodule_fs_la_LDFLAGS = \ | 34 | libgnunetgtkmodule_fs_la_LDFLAGS = \ |
32 | -export-dynamic -avoid-version -module | 35 | -export-dynamic -avoid-version -module |