~ubuntu-branches/ubuntu/natty/vino/natty

« back to all changes in this revision

Viewing changes to server/vino-mdns.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-03-02 22:01:58 UTC
  • mfrom: (1.1.32 upstream)
  • Revision ID: james.westby@ubuntu.com-20090302220158-7a6vc6kiexwhppoi
Tags: 2.25.92-0ubuntu1
* New upstream release (LP: #336909)
  - Added dependency on NetworkManager for monitoring when network
    state changes. New configure flag: --enable-network-manager. If not
    set, enable it anyway if NetworkManager libraries are found.
    Requires NM 0.7.
  - show .local hostname if avahi is present.
  - Translations (be@latin, ca, en_GB, et, eu, fi, fr, hu, it, ko, nb, ta
                  tr, zh_CN, zh_HK, zh_TW)
* debian/control.in:
  - Add network-manager-dev b-d
  - Re-generate debian/control
* add Network-Manager support: --enable-network-manager configure option
  in debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
333
333
  mdns_services = NULL;
334
334
}
335
335
 
 
336
const char *
 
337
vino_mdns_get_hostname (void)
 
338
{
 
339
  return avahi_client_get_host_name_fqdn (mdns_client);
 
340
}
 
341
 
336
342
#else /* !defined (VINO_HAVE_AVAHI) */
337
343
 
338
344
void 
356
362
{
357
363
}
358
364
 
 
365
const char *
 
366
vino_mdns_get_hostname (void)
 
367
{
 
368
  return "";
 
369
}
 
370
 
359
371
#endif /* VINO_HAVE_AVAHI */