]> git.sur5r.net Git - kconfig-frontends/blob - frontends/gconf/gconf.c.patch
frontends: change the order in which libraries are linked
[kconfig-frontends] / frontends / gconf / gconf.c.patch
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 @@ -11,7 +11,7 @@
5  #endif
6  
7  #include "lkc.h"
8 -#include "images.c"
9 +#include "images.h"
10  
11  #include <glade/glade.h>
12  #include <gtk/gtk.h>
13 @@ -1469,7 +1469,7 @@
14  {
15         const char *name;
16         char *env;
17 -       gchar *glade_file;
18 +       gchar *glade_file = GUI_PATH;
19  
20         bindtextdomain(PACKAGE, LOCALEDIR);
21         bind_textdomain_codeset(PACKAGE, "UTF-8");
22 @@ -1483,6 +1483,7 @@
23         //add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
24         //add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps");
25  
26 +#if 0
27         /* Determine GUI path */
28         env = getenv(SRCTREE);
29         if (env)
30 @@ -1491,6 +1492,7 @@
31                 glade_file = g_strconcat(av[0], ".glade", NULL);
32         else
33                 glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL);
34 +#endif
35  
36         /* Conf stuffs */
37         if (ac > 1 && av[1][0] == '-') {