[ekiga] Remove unused code
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Remove unused code
- Date: Thu, 9 Aug 2012 10:59:01 +0000 (UTC)
commit ed7f9f36d89f6d1ab36bb8aa425a57da1f649eeb
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Thu Aug 9 12:57:26 2012 +0200
Remove unused code
configure.ac | 10 ----------
lib/platform/platform-win32.c | 9 ---------
lib/platform/winpaths.h | 5 -----
3 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 253bd56..588b007 100644
--- a/configure.ac
+++ b/configure.ac
@@ -796,16 +796,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE",[fix])
AM_GLIB_GNU_GETTEXT
-dnl #########################################################################
-dnl Set PACKAGE_LOCALE_DIR in config.h.
-dnl #########################################################################
-if test "x${prefix}" = "xNONE"; then
- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${ac_default_prefix}/${DATADIRNAME}/locale",[fix])
-else
- AC_DEFINE_UNQUOTED(PACKAGE_LOCALE_DIR, "${prefix}/${DATADIRNAME}/locale",[fix])
-fi
-
-
dnl ###########################################################################
dnl Data and configuration directories for the system
dnl ###########################################################################
diff --git a/lib/platform/platform-win32.c b/lib/platform/platform-win32.c
index 48004b4..9ac144e 100644
--- a/lib/platform/platform-win32.c
+++ b/lib/platform/platform-win32.c
@@ -44,7 +44,6 @@
static gchar *basedir = NULL;
static gchar *sysconfdir = NULL;
static gchar *datadir = NULL;
-static gchar *plugindir = NULL;
void
gm_platform_init ()
@@ -52,7 +51,6 @@ gm_platform_init ()
basedir = g_strdup (g_win32_get_package_installation_directory_of_module (NULL));
sysconfdir = g_strdup (basedir);
datadir = g_strdup (basedir);
- plugindir = g_strdup_printf ("%s/lib/contacts", basedir);
}
void gm_platform_shutdown ()
@@ -60,7 +58,6 @@ void gm_platform_shutdown ()
g_free (basedir);
g_free (sysconfdir);
g_free (datadir);
- g_free (plugindir);
}
const gchar *
@@ -74,9 +71,3 @@ win32_datadir ()
{
return datadir;
}
-
-const gchar *
-win32_plugindir ()
-{
- return plugindir;
-}
diff --git a/lib/platform/winpaths.h b/lib/platform/winpaths.h
index a94e184..d5141bf 100644
--- a/lib/platform/winpaths.h
+++ b/lib/platform/winpaths.h
@@ -40,15 +40,10 @@ G_BEGIN_DECLS
const gchar *win32_sysconfdir (void);
const gchar *win32_datadir (void);
-const gchar *win32_plugindir (void);
#undef SYSCONFDIR
#define SYSCONFDIR win32_sysconfdir()
-#undef DATA_DIR
#define DATA_DIR win32_datadir()
-#undef PLUGINDIR
-#define PLUGINDIR win32_plugindir ()
-
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]