aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2005-06-05 10:41:23 +0000
committerChristian Grothoff <christian@grothoff.org>2005-06-05 10:41:23 +0000
commit6c4321c38d5a1d7b2607369b607c3ec794d78974 (patch)
treeef99ddafb799f77bfe8ad72f9022c40a7f9fd4bd
parentf64f0d61c832c05acae8d28369b13674e434c954 (diff)
downloadgnunet-gtk-6c4321c38d5a1d7b2607369b607c3ec794d78974.tar.gz
gnunet-gtk-6c4321c38d5a1d7b2607369b607c3ec794d78974.zip
bugfixes
-rw-r--r--src/about.c2
-rw-r--r--src/main.c5
-rw-r--r--src/main.h2
-rw-r--r--src/search.c3
-rw-r--r--src/upload.c2
5 files changed, 5 insertions, 9 deletions
diff --git a/src/about.c b/src/about.c
index be4529ed..5cf780c4 100644
--- a/src/about.c
+++ b/src/about.c
@@ -28,8 +28,6 @@
28#include "config.h" 28#include "config.h"
29#include "main.h" 29#include "main.h"
30 30
31extern char *gladeFile;
32
33/** 31/**
34 * This displays an about window 32 * This displays an about window
35 */ 33 */
diff --git a/src/main.c b/src/main.c
index 229014d6..f513efc1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -143,10 +143,7 @@ int main(int argc,
143 gtkDoneSaveCalls(); 143 gtkDoneSaveCalls();
144 UNREF(mainXML); 144 UNREF(mainXML);
145 doneUtil(); 145 doneUtil();
146 146 FREE(gladeFile);
147#ifdef MINGW
148 FREE(gladeFile);
149#endif
150 147
151 return 0; 148 return 0;
152} 149}
diff --git a/src/main.h b/src/main.h
index dfd1763e..e2c0a286 100644
--- a/src/main.h
+++ b/src/main.h
@@ -32,4 +32,6 @@
32 32
33extern GladeXML * mainXML; 33extern GladeXML * mainXML;
34 34
35extern char * gladeFile;
36
35#endif 37#endif
diff --git a/src/search.c b/src/search.c
index b28efdeb..82079957 100644
--- a/src/search.c
+++ b/src/search.c
@@ -27,6 +27,7 @@
27#include "platform.h" 27#include "platform.h"
28#include "search.h" 28#include "search.h"
29#include "helper.h" 29#include "helper.h"
30#include "main.h"
30#include <extractor.h> 31#include <extractor.h>
31 32
32/** 33/**
@@ -43,8 +44,6 @@ static SearchList * head;
43 44
44static GtkListStore * summary; 45static GtkListStore * summary;
45 46
46extern char *gladeFile;
47
48/** 47/**
49 * Recursively free the (internal) model data fields 48 * Recursively free the (internal) model data fields
50 * (uri and meta) from the search tree model. 49 * (uri and meta) from the search tree model.
diff --git a/src/upload.c b/src/upload.c
index 2dc54ab6..8bb46fcc 100644
--- a/src/upload.c
+++ b/src/upload.c
@@ -27,11 +27,11 @@
27#include "platform.h" 27#include "platform.h"
28#include "search.h" 28#include "search.h"
29#include "helper.h" 29#include "helper.h"
30#include "main.h"
30#include <extractor.h> 31#include <extractor.h>
31 32
32 33
33static GtkTreeStore * summary; 34static GtkTreeStore * summary;
34extern char *gladeFile;
35 35
36/** 36/**
37 * XML tree for the meta-data dialog of upload. 37 * XML tree for the meta-data dialog of upload.