~oif-team/geis/client-arch

« back to all changes in this revision

Viewing changes to libutouch-geis/geis_backend_token.c

  • Committer: Stephen M. Webb
  • Date: 2011-10-17 21:52:08 UTC
  • mfrom: (197.1.9 autodiscover-backend)
  • Revision ID: stephen.webb@canonical.com-20111017215208-gk9v99iouh4d07do
Added back-end autodiscovery and failover.

The default back end is now DBus, with a fallback to XCB if the DBus server is not detected.

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 * Deactivates a token in the back end.
71
71
 */
72
72
GeisStatus
73
 
geis_backend_token_deactivate(GeisBackendToken token)
 
73
geis_backend_token_deactivate(GeisBackendToken token,
 
74
                              GeisSubscription subscription)
74
75
{
75
76
  geis_debug("called");
76
 
  return token->vtbl->deactivate(token);
 
77
  return token->vtbl->deactivate(token, subscription);
77
78
}
78
79
 
79
80