diff options
Diffstat (limited to 'glib/dbus-gmain.c')
| -rw-r--r-- | glib/dbus-gmain.c | 12 | 
1 files changed, 8 insertions, 4 deletions
diff --git a/glib/dbus-gmain.c b/glib/dbus-gmain.c index d6c9e68d..da2e555d 100644 --- a/glib/dbus-gmain.c +++ b/glib/dbus-gmain.c @@ -67,14 +67,18 @@ struct DBusGSource    void *connection_or_server; /**< DBusConnection or DBusServer */  }; +/** + * Auxillary struct for pairing up a #DBusWatch and associated + * #GPollFD + */  typedef struct  { -  int refcount; +  int refcount;     /**< reference count */ -  GPollFD poll_fd; -  DBusWatch *watch; +  GPollFD poll_fd;  /**< the #GPollFD to use with g_source_add_poll() */ +  DBusWatch *watch; /**< the corresponding DBusWatch*/ -  unsigned int removed : 1; +  unsigned int removed : 1; /**< true if this #WatchFD has been removed */  } WatchFD;  static WatchFD *  | 
