diff options
| author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-25 13:17:24 +0000 | 
|---|---|---|
| committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-25 13:17:24 +0000 | 
| commit | dbe289f011a9ecedf0f4cabb9f25c9564c8aa830 (patch) | |
| tree | cffb67e5a8afb9932f5cc064a1234a8dd7fc5ddc /common/glib-ectomy.h | |
| parent | 39a699d168f52632ecd959a8e31b736ba86ad0ed (diff) | |
Fix and cleanup watch functionality
Diffstat (limited to 'common/glib-ectomy.h')
| -rw-r--r-- | common/glib-ectomy.h | 22 | 
1 files changed, 3 insertions, 19 deletions
| diff --git a/common/glib-ectomy.h b/common/glib-ectomy.h index af6f4fbb..16f4810d 100644 --- a/common/glib-ectomy.h +++ b/common/glib-ectomy.h @@ -36,25 +36,9 @@ typedef struct _GIOChannel {  typedef gboolean (*GSourceFunc) (gpointer data); -struct timeout { -	guint id; -	guint interval; -	struct timeval expiration; -	gpointer data; -	GSourceFunc function; -}; - -typedef struct _GMainContext { -	guint next_id; -	glong timeout; -	struct slist *ltimeout; -	struct slist *processed; -} GMainContext; - -typedef struct _GMainLoop { -	int bail; -	GMainContext *context; -} GMainLoop; +typedef struct _GMainContext GMainContext; + +typedef struct _GMainLoop GMainLoop;  typedef enum {  	G_IO_ERROR_NONE, | 
