~oif-team/geis/client-arch

« back to all changes in this revision

Viewing changes to libutouch-geis/backend/dbus/geis_dbus_locator.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:
116
116
    if (dbus_message_is_error(message, DBUS_ERROR_SERVICE_UNKNOWN))
117
117
    {
118
118
      geis_warning("server not found!");
 
119
      geis_dbus_client_server_dislocated(locator->client);
119
120
      result = DBUS_HANDLER_RESULT_HANDLED;
120
121
    }
121
122
    else