service: Rename secret_service_new() and friends to open()
authorStef Walter <stefw@gnome.org>
Fri, 21 Jun 2013 08:05:08 +0000 (10:05 +0200)
committerStef Walter <stefw@gnome.org>
Fri, 21 Jun 2013 13:11:14 +0000 (15:11 +0200)
commit1758194f26a41f660bf1504731053a37fd422315
tree75f18684edf94882572eb84b3794240e98413b9f
parentcec740fea9a7ddec75cd625f86c03827e098326c
service: Rename secret_service_new() and friends to open()

The _new() suffix confuses vala and gobject introspection thinking
that it's a constructor, and there's no way to tell it otherwise. And
things really get messy because they're async functions.

So while we're still unstable, rename these functions to
secret_service_open() secret_service_open_sync() and
secret_service_open_finish().

This is an API/API break, but its to the portion of the library
marked as unstable. Only used by seahorse (in jhbuild) and updated
usage there.
docs/reference/libsecret/libsecret-sections.txt
libsecret/secret-service.c
libsecret/secret-service.h
libsecret/tests/test-service.c