summaryrefslogtreecommitdiff
path: root/client/pbap.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-05-17 20:34:07 -0700
committerMarcel Holtmann <marcel@holtmann.org>2012-05-17 20:34:07 -0700
commit606e1e8ade4ce7c05f46480c27e66879d2e765b2 (patch)
treeeb355a0267e2b019880e2e340637bf25415d4227 /client/pbap.c
parentf58cd6239f44d288748da946cba0f98c6d5aa928 (diff)
downloadobexd-606e1e8ade4ce7c05f46480c27e66879d2e765b2.tar.gz
Constify GDBus method tables
Constify method tables with the following command: find . -name '*.[ch]' -exec \ sed -i 's/\(GDBusMethodTable .* =\)/const \1/g' {} \;
Diffstat (limited to 'client/pbap.c')
-rw-r--r--client/pbap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/pbap.c b/client/pbap.c
index 76db61e..add9057 100644
--- a/client/pbap.c
+++ b/client/pbap.c
@@ -980,7 +980,7 @@ static DBusMessage *pbap_list_filter_fields(DBusConnection *connection,
return reply;
}
-static GDBusMethodTable pbap_methods[] = {
+static const GDBusMethodTable pbap_methods[] = {
{ "Select", "ss", "", pbap_select,
G_DBUS_METHOD_FLAG_ASYNC },
{ "PullAll", "", "s", pbap_pull_all,