Commit 69e8c4c4 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte

removed every reference to binding script directory. (bug #444605)

* gladeui/glade-app.[ch], gladeui/Makefile.am: removed every reference to 
  binding script directory. (bug #444605)

svn path=/trunk/; revision=1338
parent 9e8f8511
2007-06-06 Juan Pablo Ugarte <juanpablougarte@gmail.com>
* gladeui/glade-app.[ch], gladeui/Makefile.am: removed every reference to
binding script directory. (bug #444605)
2006-06-06 Tristan Van Berkom <tvb@gnome.org>
* gladeui/glade-id-allocator.c: Fixed C89 compile (bug 444045, fix by Jens Granseuer)
......
......@@ -7,7 +7,6 @@ common_defines = \
-DGLADE_PLUGINSDIR="\"$(pkglibdir)/plugins\"" \
-DGLADE_BINDINGSDIR="\"$(pkglibdir)/bindings\"" \
-DGLADE_PIXMAPSDIR="\"$(pkgdatadir)/pixmaps\"" \
-DGLADE_SCRIPTSDIR="\"$(pkgdatadir)/scripts\"" \
-DGLADE_LOCALEDIR="\"$(datadir)/locale\""
lib_LTLIBRARIES = libgladeui-1.la
......
......@@ -83,7 +83,6 @@ struct _GladeAppPrivate
static guint glade_app_signals[LAST_SIGNAL] = { 0 };
/* installation paths */
static gchar *scripts_dir = NULL;
static gchar *catalogs_dir = NULL;
static gchar *modules_dir = NULL;
static gchar *bindings_dir = NULL;
......@@ -161,8 +160,7 @@ static void
glade_app_finalize (GObject *app)
{
#ifdef G_OS_WIN32
g_free (scripts_dir);
#ifdef G_OS_WIN32
g_free (catalogs_dir);
g_free (modules_dir);
g_free (bindings_dir);
......@@ -310,14 +308,6 @@ glade_app_config_load (GladeApp *app)
return config;
}
const gchar *
glade_app_get_scripts_dir (void)
{
glade_init_check ();
return scripts_dir;
}
const gchar *
glade_app_get_catalogs_dir (void)
{
......@@ -375,7 +365,6 @@ build_package_paths (void)
gchar *prefix;
prefix = g_win32_get_package_installation_directory (NULL, NULL);
scripts_dir = g_build_filename (prefix, "share", PACKAGE, GLADE_BINDING_SCRIPT_DIR, NULL);
pixmaps_dir = g_build_filename (prefix, "share", PACKAGE, "pixmaps", NULL);
catalogs_dir = g_build_filename (prefix, "share", PACKAGE, "catalogs", NULL);
modules_dir = g_build_filename (prefix, "lib", PACKAGE, "modules", NULL);
......@@ -383,7 +372,6 @@ build_package_paths (void)
locale_dir = g_build_filename (prefix, "share", "locale", NULL);
g_free (prefix);
#else
scripts_dir = g_strdup (GLADE_SCRIPTSDIR);
catalogs_dir = g_strdup (GLADE_CATALOGSDIR);
modules_dir = g_strdup (GLADE_MODULESDIR);
bindings_dir = g_strdup (GLADE_BINDINGSDIR);
......
......@@ -168,8 +168,6 @@ void glade_app_selection_changed (void);
/* package paths */
const gchar *glade_app_get_scripts_dir (void) G_GNUC_CONST;
const gchar *glade_app_get_catalogs_dir (void) G_GNUC_CONST;
const gchar *glade_app_get_modules_dir (void) G_GNUC_CONST;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment