diff options
author | Rob Bradford <rob@linux.intel.com> | 2011-06-15 18:02:47 +0100 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2011-06-28 15:25:45 +0100 |
commit | 0630a9a047bf235b3518a5a1c1ace4b938088c84 (patch) | |
tree | d000187119ae3c0a2451c20dd5bfc12f71966e57 | |
parent | 94787614d435ad59ffd3039b53691ca2ebf62f5e (diff) | |
download | gconf-0630a9a047bf235b3518a5a1c1ace4b938088c84.tar.gz |
gconf-internals: Internalise gconf_get_lock_or_current_holder function
This is only used by gconf_get_lock and so need not be exposed.
-rw-r--r-- | gconf/gconf-internals.c | 2 | ||||
-rw-r--r-- | gconf/gconf-internals.h | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/gconf/gconf-internals.c b/gconf/gconf-internals.c index 6bc16e21..ed42ca62 100644 --- a/gconf/gconf-internals.c +++ b/gconf/gconf-internals.c @@ -2526,7 +2526,7 @@ gconf_get_server (gboolean start_if_not_found, return server; } -GConfLock* +static GConfLock * gconf_get_lock_or_current_holder (const gchar *lock_directory, ConfigServer *current_server, GError **err) diff --git a/gconf/gconf-internals.h b/gconf/gconf-internals.h index ccb4ca5a..b9cbaf0b 100644 --- a/gconf/gconf-internals.h +++ b/gconf/gconf-internals.h @@ -217,10 +217,6 @@ GConfLock* gconf_get_lock (const gchar *lock_directory, GError **err); gboolean gconf_release_lock (GConfLock *lock, GError **err); -GConfLock* gconf_get_lock_or_current_holder (const gchar *lock_directory, - ConfigServer *current_server, - GError **err); - GError* gconf_error_new (GConfError en, const gchar* format, ...) G_GNUC_PRINTF (2, 3); |