diff options
author | Christian Grothoff <christian@grothoff.org> | 2005-06-05 10:41:23 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2005-06-05 10:41:23 +0000 |
commit | 6c4321c38d5a1d7b2607369b607c3ec794d78974 (patch) | |
tree | ef99ddafb799f77bfe8ad72f9022c40a7f9fd4bd | |
parent | f64f0d61c832c05acae8d28369b13674e434c954 (diff) | |
download | gnunet-gtk-6c4321c38d5a1d7b2607369b607c3ec794d78974.tar.gz gnunet-gtk-6c4321c38d5a1d7b2607369b607c3ec794d78974.zip |
bugfixes
-rw-r--r-- | src/about.c | 2 | ||||
-rw-r--r-- | src/main.c | 5 | ||||
-rw-r--r-- | src/main.h | 2 | ||||
-rw-r--r-- | src/search.c | 3 | ||||
-rw-r--r-- | src/upload.c | 2 |
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 | ||
31 | extern char *gladeFile; | ||
32 | |||
33 | /** | 31 | /** |
34 | * This displays an about window | 32 | * This displays an about window |
35 | */ | 33 | */ |
@@ -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 | } |
@@ -32,4 +32,6 @@ | |||
32 | 32 | ||
33 | extern GladeXML * mainXML; | 33 | extern GladeXML * mainXML; |
34 | 34 | ||
35 | extern 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 | ||
44 | static GtkListStore * summary; | 45 | static GtkListStore * summary; |
45 | 46 | ||
46 | extern 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 | ||
33 | static GtkTreeStore * summary; | 34 | static GtkTreeStore * summary; |
34 | extern 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. |