~ubuntu-branches/ubuntu/maverick/gvfs/maverick-proposed

« back to all changes in this revision

Viewing changes to metadata/metatree.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-02-23 13:00:18 UTC
  • mfrom: (1.1.54 upstream)
  • Revision ID: james.westby@ubuntu.com-20100223130018-m3txkn095qz6z0w9
Tags: 1.5.4-0ubuntu1
* New upstream release:
  - gphoto2: Better support for devices that are read-only + delete
  - gdu: Various fixes and preparation for LVM
  - ftp: fix asserts
  - sftp: remember to save password if username changed (LP: #365662)
  - gio module: don't call g_file_find_enclosing_mount_async callback
    directly
  - gvfs-monitor: Track moves if available
  - Translation updates
* debian/control.in: Bump gdu and glib build dependency, according to
  configure.ac.
* debian/rules: Explicitly set D-Bus service dir configuration option, to
  work around regression in upstream configure.ac (now fixed in trunk).

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
#include <glib.h>
52
52
#include <glib/gstdio.h>
53
53
#include <errno.h>
54
 
#include <poll.h>
55
54
#include "crc32.h"
56
55
 
57
56
#ifdef HAVE_LIBUDEV
2989
2988
  char *contents;
2990
2989
  int res;
2991
2990
  gboolean first;
2992
 
  struct pollfd pfd;
 
2991
  GPollFD pfd;
2993
2992
 
2994
2993
  first = FALSE;
2995
2994
  if (!mountinfo_initialized)
3005
3004
  if (!first)
3006
3005
    {
3007
3006
      pfd.fd = mountinfo_fd;
3008
 
      pfd.events = POLLIN | POLLOUT | POLLPRI;
 
3007
      pfd.events = G_IO_IN | G_IO_OUT | G_IO_PRI;
3009
3008
      pfd.revents = 0;
3010
 
      res = poll (&pfd, 1, 0);
 
3009
      res = g_poll (&pfd, 1, 0);
3011
3010
      if (res == 0)
3012
3011
        return;
3013
3012
    }