]> git.sur5r.net Git - kconfig-frontends/blobdiff - frontends/gconf/gconf.c.patch
libs/images: make it a proper library
[kconfig-frontends] / frontends / gconf / gconf.c.patch
index 7ce758623f180d35663b10321dd93a528ed5f081..fbd898010d6468fd3b9ac0cbf5aca9ce5242df7e 100644 (file)
@@ -1,21 +1,16 @@
 diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c
 --- a/frontends/gconf/gconf.c
 +++ b/frontends/gconf/gconf.c
-@@ -11,7 +11,12 @@
+@@ -11,7 +11,7 @@
  #endif
  
  #include "lkc.h"
 -#include "images.c"
-+#define WANTS_xpm_single_view
-+#define WANTS_xpm_split_view
-+#define WANTS_xpm_tree_view
-+#define WANTS_xpm_menu
-+#define WANTS_xpm_void
 +#include "images.h"
  
  #include <glade/glade.h>
  #include <gtk/gtk.h>
-@@ -1468,8 +1473,10 @@
+@@ -1468,8 +1468,10 @@
  int main(int ac, char *av[])
  {
        const char *name;
@@ -27,7 +22,7 @@ diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c
  
        bindtextdomain(PACKAGE, LOCALEDIR);
        bind_textdomain_codeset(PACKAGE, "UTF-8");
-@@ -1483,6 +1490,7 @@
+@@ -1483,6 +1485,7 @@
        //add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");
        //add_pixmap_directory (PACKAGE_SOURCE_DIR "/pixmaps");
  
@@ -35,7 +30,7 @@ diff --git a/frontends/gconf/gconf.c b/frontends/gconf/gconf.c
        /* Determine GUI path */
        env = getenv(SRCTREE);
        if (env)
-@@ -1491,6 +1499,7 @@
+@@ -1491,6 +1494,7 @@
                glade_file = g_strconcat(av[0], ".glade", NULL);
        else
                glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL);