| 1 |
diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c |
| 2 |
--- a/frontends/gconf/gconf.c |
| 3 |
+++ b/frontends/gconf/gconf.c |
| 4 |
@@ -12,7 +12,7 @@ |
| 5 |
|
| 6 |
#include <stdlib.h> |
| 7 |
#include "lkc.h" |
| 8 |
-#include "images.c" |
| 9 |
+#include "images.h" |
| 10 |
|
| 11 |
#include <glade/glade.h> |
| 12 |
#include <gtk/gtk.h> |
| 13 |
@@ -1444,8 +1444,10 @@ |
| 14 |
int main(int ac, char *av[]) |
| 15 |
{ |
| 16 |
const char *name; |
| 17 |
+#if 0 |
| 18 |
char *env; |
| 19 |
+#endif |
| 20 |
- gchar *glade_file; |
| 21 |
+ gchar *glade_file = GUI_PATH; |
| 22 |
|
| 23 |
bindtextdomain(PACKAGE, LOCALEDIR); |
| 24 |
bind_textdomain_codeset(PACKAGE, "UTF-8"); |
| 25 |
@@ -1459,6 +1461,7 @@ |
| 26 |
//add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps"); |
| 27 |
//add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps"); |
| 28 |
|
| 29 |
+#if 0 |
| 30 |
/* Determine GUI path */ |
| 31 |
env = getenv(SRCTREE); |
| 32 |
if (env) |
| 33 |
@@ -1467,6 +1470,7 @@ |
| 34 |
glade_file = g_strconcat(av[0], ".glade", NULL); |
| 35 |
else |
| 36 |
glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL); |
| 37 |
+#endif |
| 38 |
|
| 39 |
/* Conf stuffs */ |
| 40 |
if (ac > 1 && av[1][0] == '-') { |