diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-07-12 10:29:32 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-07-12 10:31:45 -0400 |
commit | e2c8ed5dcd04527c382718a5652b1d4c94ca0f4b (patch) | |
tree | 4479eb8ea43c73d4d541feb6acf0ed80dce72e39 /service | |
parent | 4171008f80e95c3c7098eeac9cde47824e4943b9 (diff) | |
download | dconf-e2c8ed5dcd04527c382718a5652b1d4c94ca0f4b.tar.gz |
service: fix some harmless compile warnings
Mostly missing 'static'.
Diffstat (limited to 'service')
-rw-r--r-- | service/dconf-blame.h | 1 | ||||
-rw-r--r-- | service/dconf-keyfile-writer.c | 2 | ||||
-rw-r--r-- | service/dconf-service.c | 4 | ||||
-rw-r--r-- | service/dconf-writer.c | 8 |
4 files changed, 8 insertions, 7 deletions
diff --git a/service/dconf-blame.h b/service/dconf-blame.h index 07cf85b..3b53710 100644 --- a/service/dconf-blame.h +++ b/service/dconf-blame.h @@ -34,6 +34,7 @@ typedef struct _DConfBlame DConfBlame; #define DCONF_BLAME_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \ DCONF_TYPE_BLAME, DConfBlameClass)) +GType dconf_blame_get_type (void); DConfBlame *dconf_blame_get (void); void dconf_blame_record (GDBusMethodInvocation *invocation); diff --git a/service/dconf-keyfile-writer.c b/service/dconf-keyfile-writer.c index d5305a3..eae5ca3 100644 --- a/service/dconf-keyfile-writer.c +++ b/service/dconf-keyfile-writer.c @@ -43,7 +43,7 @@ typedef struct G_DEFINE_TYPE (DConfKeyfileWriter, dconf_keyfile_writer, DCONF_TYPE_WRITER) -DConfChangeset * +static DConfChangeset * dconf_keyfile_to_changeset (GKeyFile *keyfile, const gchar *filename_fyi) { diff --git a/service/dconf-service.c b/service/dconf-service.c index 2d3026e..9c9c88a 100644 --- a/service/dconf-service.c +++ b/service/dconf-service.c @@ -144,7 +144,7 @@ dconf_service_subtree_enumerate (GDBusConnection *connection, return string_set_free (set); } -GDBusInterfaceInfo ** +static GDBusInterfaceInfo ** dconf_service_subtree_introspect (GDBusConnection *connection, const gchar *sender, const gchar *object_path, @@ -193,7 +193,7 @@ dconf_service_get_writer (DConfService *service, return writer; } -const GDBusInterfaceVTable * +static const GDBusInterfaceVTable * dconf_service_subtree_dispatch (GDBusConnection *connection, const gchar *sender, const gchar *object_path, diff --git a/service/dconf-writer.c b/service/dconf-writer.c index aa0c96e..fc4e130 100644 --- a/service/dconf-writer.c +++ b/service/dconf-writer.c @@ -223,14 +223,14 @@ dconf_writer_real_end (DConfWriter *writer) g_clear_pointer (&writer->priv->uncommited_values, dconf_changeset_unref); } -gboolean +static gboolean dconf_writer_begin (DConfWriter *writer, GError **error) { return DCONF_WRITER_GET_CLASS (writer)->begin (writer, error); } -void +static void dconf_writer_change (DConfWriter *writer, DConfChangeset *changeset, const gchar *tag) @@ -238,14 +238,14 @@ dconf_writer_change (DConfWriter *writer, DCONF_WRITER_GET_CLASS (writer)->change (writer, changeset, tag); } -gboolean +static gboolean dconf_writer_commit (DConfWriter *writer, GError **error) { return DCONF_WRITER_GET_CLASS (writer)->commit (writer, error); } -void +static void dconf_writer_end (DConfWriter *writer) { return DCONF_WRITER_GET_CLASS (writer)->end (writer); |