[gconf] Remove unused gconf_get_lock_dir function



commit 9de1fae218b3039408dce4325d30ce62ec4f66cf
Author: William Jon McCann <jmccann redhat com>
Date:   Wed Apr 25 11:38:35 2012 -0400

    Remove unused gconf_get_lock_dir function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=646663

 gconf/gconf-internals.c |   13 -------------
 gconf/gconf-internals.h |    1 -
 2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gconf/gconf-internals.c b/gconf/gconf-internals.c
index 784bcb3..e07febd 100644
--- a/gconf/gconf-internals.c
+++ b/gconf/gconf-internals.c
@@ -2825,19 +2825,6 @@ gconf_get_daemon_dir (void)
     }
 }
 
-char*
-gconf_get_lock_dir (void)
-{
-  char *gconfd_dir;
-  char *lock_dir;
-  
-  gconfd_dir = gconf_get_daemon_dir ();
-  lock_dir = g_strconcat (gconfd_dir, "/lock", NULL);
-
-  g_free (gconfd_dir);
-  return lock_dir;
-}
-
 ConfigServer
 gconf_activate_server (gboolean  start_if_not_found,
                        GError  **error)
diff --git a/gconf/gconf-internals.h b/gconf/gconf-internals.h
index 0841c8a..d993485 100644
--- a/gconf/gconf-internals.h
+++ b/gconf/gconf-internals.h
@@ -238,7 +238,6 @@ CORBA_ORB gconf_orb_get (void);
 ConfigServer gconf_activate_server (gboolean  start_if_not_found,
                                     GError  **error);
 
-char*     gconf_get_lock_dir (void);
 char*     gconf_get_daemon_dir (void);
 
 GConfLock* gconf_get_lock     (const gchar  *lock_directory,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]