summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2011-01-25 18:27:34 -0500
committerRyan Lortie <desrt@desrt.ca>2011-01-25 18:29:46 -0500
commit09dd25588d5341a5ccbc5b7c3f8e9008eb425f47 (patch)
tree012a3e768c82bd7eef9906248b46b7c7b6eb439b
parentb1c5eacbbe32de475dbcd35f42769a0476aef88e (diff)
downloaddconf-09dd25588d5341a5ccbc5b7c3f8e9008eb425f47.tar.gz
Add G_GNUC_INTERNAL to symbols
We're being sloppy about symbol exports. Clean that up.
-rw-r--r--common/dconf-shmdir.h1
-rw-r--r--engine/dconf-engine.h20
-rw-r--r--gsettings/dconfcontext.h1
3 files changed, 22 insertions, 0 deletions
diff --git a/common/dconf-shmdir.h b/common/dconf-shmdir.h
index 38fda74..3b08de6 100644
--- a/common/dconf-shmdir.h
+++ b/common/dconf-shmdir.h
@@ -24,6 +24,7 @@
#include <glib.h>
+G_GNUC_INTERNAL
gchar *dconf_shmdir_from_environment (void);
#endif /* __dconf_shmdir_h__ */
diff --git a/engine/dconf-engine.h b/engine/dconf-engine.h
index 5de5f3c..d2058d5 100644
--- a/engine/dconf-engine.h
+++ b/engine/dconf-engine.h
@@ -70,52 +70,70 @@ typedef struct
} DConfEngineMessage;
typedef GVariant * (*DConfEngineServiceFunc) (DConfEngineMessage *message);
+G_GNUC_INTERNAL
void dconf_engine_message_copy (DConfEngineMessage *orig,
DConfEngineMessage *copy);
+G_GNUC_INTERNAL
void dconf_engine_message_destroy (DConfEngineMessage *message);
+G_GNUC_INTERNAL
void dconf_engine_set_service_func (DConfEngineServiceFunc func);
+G_GNUC_INTERNAL
DConfEngine * dconf_engine_new (const gchar *profile);
+G_GNUC_INTERNAL
DConfEngine * dconf_engine_new_for_db (DConfEngineServiceFunc *service,
const gchar *db_name);
+G_GNUC_INTERNAL
guint64 dconf_engine_get_state (DConfEngine *engine);
+G_GNUC_INTERNAL
void dconf_engine_free (DConfEngine *engine);
+G_GNUC_INTERNAL
GVariant * dconf_engine_read (DConfEngine *engine,
const gchar *key);
+G_GNUC_INTERNAL
GVariant * dconf_engine_read_default (DConfEngine *engine,
const gchar *key);
+G_GNUC_INTERNAL
GVariant * dconf_engine_read_no_default (DConfEngine *engine,
const gchar *key);
+G_GNUC_INTERNAL
gchar ** dconf_engine_list (DConfEngine *engine,
const gchar *path,
DConfResetList *resets,
gint *length);
+G_GNUC_INTERNAL
void dconf_engine_get_service_info (DConfEngine *engine,
const gchar **bus_type,
const gchar **destination,
const gchar **object_path);
+G_GNUC_INTERNAL
gboolean dconf_engine_is_writable (DConfEngine *engine,
const gchar *name);
+G_GNUC_INTERNAL
gboolean dconf_engine_write (DConfEngine *engine,
const gchar *key,
GVariant *value,
DConfEngineMessage *message,
GError **error);
+G_GNUC_INTERNAL
gboolean dconf_engine_write_many (DConfEngine *engine,
const gchar *prefix,
const gchar * const *keys,
GVariant **values,
DConfEngineMessage *message,
GError **error);
+G_GNUC_INTERNAL
void dconf_engine_watch (DConfEngine *engine,
const gchar *name,
DConfEngineMessage *message);
+G_GNUC_INTERNAL
void dconf_engine_unwatch (DConfEngine *engine,
const gchar *name,
DConfEngineMessage *message);
+G_GNUC_INTERNAL
gboolean dconf_engine_decode_notify (DConfEngine *engine,
const gchar *anti_expose,
const gchar **prefix,
@@ -125,11 +143,13 @@ gboolean dconf_engine_decode_notify (DConfEn
const gchar *interface,
const gchar *member,
GVariant *body);
+G_GNUC_INTERNAL
void dconf_engine_set_locked (DConfEngine *engine,
const gchar *path,
gboolean locked,
DConfEngineMessage *message);
+G_GNUC_INTERNAL
gboolean dconf_engine_interpret_reply (DConfEngineMessage *message,
const gchar *sender,
GVariant *body,
diff --git a/gsettings/dconfcontext.h b/gsettings/dconfcontext.h
index ddfb102..42d40a6 100644
--- a/gsettings/dconfcontext.h
+++ b/gsettings/dconfcontext.h
@@ -3,6 +3,7 @@
#include <glib.h>
+G_GNUC_INTERNAL
GMainContext * dconf_context_get (void);
#endif