[gnumeric] Compilation: remove unused stuff.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Compilation: remove unused stuff.
- Date: Tue, 20 Jan 2015 02:34:36 +0000 (UTC)
commit 3e371fb8b80963b94b3190553365e5fc3308634c
Author: Morten Welinder <terra gnome org>
Date: Mon Jan 19 21:08:19 2015 -0500
Compilation: remove unused stuff.
ChangeLog | 2 ++
src/gutils.c | 12 ------------
src/gutils.h | 1 -
3 files changed, 2 insertions(+), 13 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index cb5fec9..d4ffe1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2015-01-19 Morten Welinder <terra gnome org>
+ * src/gutils.c (gnm_icon_dir): Remove.
+
* src/wbc-gtk.c (cb_sheet_label_drag_begin): Load arrow from glib
resources.
diff --git a/src/gutils.c b/src/gutils.c
index 3f7eb1b..046711d 100644
--- a/src/gutils.c
+++ b/src/gutils.c
@@ -33,7 +33,6 @@
static char *gnumeric_lib_dir;
static char *gnumeric_data_dir;
-static char *gnumeric_icon_dir;
static char *gnumeric_locale_dir;
static char *gnumeric_usr_dir;
static char *gnumeric_usr_dir_unversioned;
@@ -80,8 +79,6 @@ gutils_init (void)
gnumeric_data_dir = g_build_filename (dir, "share",
"gnumeric", GNM_VERSION_FULL,
NULL);
- gnumeric_icon_dir = g_build_filename (dir, "share", "pixmaps",
- "gnumeric", NULL);
gnumeric_locale_dir = g_build_filename (dir, "share", "locale", NULL);
gnumeric_extern_plugin_dir = g_build_filename
(dir, "lib", "gnumeric", GNM_API_VERSION, "plugins",
@@ -106,7 +103,6 @@ gutils_init (void)
if (!gnumeric_lib_dir)
gnumeric_lib_dir = g_strdup (GNUMERIC_LIBDIR);
gnumeric_data_dir = g_strdup (GNUMERIC_DATADIR);
- gnumeric_icon_dir = g_strdup (GNUMERIC_ICONDIR);
gnumeric_locale_dir = g_strdup (GNUMERIC_LOCALEDIR);
gnumeric_extern_plugin_dir = g_strdup (GNUMERIC_EXTERNPLUGINDIR);
#endif
@@ -126,8 +122,6 @@ gutils_shutdown (void)
gnumeric_lib_dir = NULL;
g_free (gnumeric_data_dir);
gnumeric_data_dir = NULL;
- g_free (gnumeric_icon_dir);
- gnumeric_icon_dir = NULL;
g_free (gnumeric_locale_dir);
gnumeric_locale_dir = NULL;
g_free (gnumeric_usr_dir);
@@ -157,12 +151,6 @@ gnm_sys_extern_plugin_dir (void)
}
char const *
-gnm_icon_dir (void)
-{
- return gnumeric_icon_dir;
-}
-
-char const *
gnm_locale_dir (void)
{
return gnumeric_locale_dir;
diff --git a/src/gutils.h b/src/gutils.h
index 53755ef..12830b4 100644
--- a/src/gutils.h
+++ b/src/gutils.h
@@ -15,7 +15,6 @@ void gutils_shutdown (void);
char const *gnm_sys_lib_dir (void);
char const *gnm_sys_data_dir (void);
char const *gnm_sys_extern_plugin_dir (void);
-char const *gnm_icon_dir (void);
char const *gnm_locale_dir (void);
char const *gnm_usr_dir (gboolean versioned);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]