[recipes] Drop an unused utility function
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Drop an unused utility function
- Date: Wed, 15 Mar 2017 14:37:02 +0000 (UTC)
commit 059a992a03a3111c83cc00beb8b3fef398fe42f8
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Mar 15 05:51:01 2017 -0400
Drop an unused utility function
We no longer have the compatibility code for the
name change, so this function can go.
src/gr-utils.c | 11 -----------
src/gr-utils.h | 1 -
2 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/gr-utils.c b/src/gr-utils.c
index 3134a66..22f0c72 100644
--- a/src/gr-utils.c
+++ b/src/gr-utils.c
@@ -132,17 +132,6 @@ get_user_data_dir (void)
}
const char *
-get_old_user_data_dir (void)
-{
- static char *dir = NULL;
-
- if (!dir)
- dir = g_build_filename (g_get_user_data_dir (), "recipes", NULL);
-
- return (const char *)dir;
-}
-
-const char *
get_pkg_data_dir (void)
{
static char *dir = NULL;
diff --git a/src/gr-utils.h b/src/gr-utils.h
index 915d266..4e51c01 100644
--- a/src/gr-utils.h
+++ b/src/gr-utils.h
@@ -34,7 +34,6 @@ GdkPixbuf *load_pixbuf_fill_size (const char *path,
const char *get_pkg_data_dir (void);
const char *get_user_data_dir (void);
-const char *get_old_user_data_dir (void);
void container_remove_all (GtkContainer *container);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]