Dan Winship
d15cdbefec
gmain: add g_source_add_child_source and g_source_remove_child_source
...
This adds "child source" support to GSource. A child source behaves
basically like a GPollFD; when you add a source to a context, all of
its child sources are added with the same priority; when you destroy a
source, all of its child sources are destroyed; and when a child
source triggers, its parent source's dispatch function is run.
Use cases include:
- adding a GTimeoutSource to another source to cause the source to
automatically trigger after a certain timeout.
- wrapping an existing source type with a new type that has
a different callback signature
- creating a source that triggers based on different conditions
at different times.
https://bugzilla.gnome.org/show_bug.cgi?id=634239
2010-11-26 15:07:28 -05:00
..
2007-01-03 11:22:36 +00:00
2010-08-06 13:10:34 -04:00
2010-08-06 13:10:34 -04:00
2010-08-23 12:34:53 -05:00
2010-11-05 21:33:43 -04:00
2010-08-06 13:10:34 -04:00
2010-07-12 15:33:05 -04:00
2010-07-12 15:33:05 -04:00
2010-09-01 09:48:16 +02:00
2010-08-08 23:55:11 -04:00
2009-04-29 11:17:23 -04:00
2010-08-13 00:33:04 -04:00
2008-05-05 15:02:15 +00:00
2010-09-05 00:23:03 -04:00
2010-09-05 00:23:03 -04:00
2010-07-10 23:56:45 -04:00
2010-09-06 15:57:32 +03:00
2010-09-03 19:41:49 -04:00
2010-09-03 19:34:28 -04:00
2010-09-03 19:34:28 -04:00
2010-07-07 19:34:35 -04:00
2010-01-30 12:32:37 -05:00
2010-08-03 10:25:54 -04:00
2010-07-10 23:56:45 -04:00
2009-07-20 16:03:25 -04:00
2010-07-07 19:34:35 -04:00
2010-03-14 15:56:18 -04:00
2010-09-03 19:38:56 -04:00
2010-09-03 19:38:56 -04:00
2010-09-04 18:04:34 +01:00
2010-09-03 19:49:34 -04:00
2010-07-07 19:34:35 -04:00
2010-06-23 22:32:35 -04:00
2010-09-06 15:57:32 +03:00
2010-08-08 23:55:11 -04:00
2010-09-21 10:35:36 +01:00
2008-05-05 15:02:15 +00:00
2010-09-03 21:24:40 -04:00
2010-09-06 15:57:32 +03:00
2008-05-05 15:02:15 +00:00
2010-11-09 09:53:12 +08:00
2010-10-01 11:20:55 -04:00
2007-05-17 16:36:53 +00:00
2010-09-20 13:25:24 -04:00
2008-05-05 15:02:15 +00:00
2008-04-08 02:59:05 +00:00
2005-11-04 22:27:04 +00:00
2010-09-05 00:23:03 -04:00
2009-05-23 17:52:58 +02:00
2010-09-06 15:57:32 +03:00
2009-09-04 22:45:07 +02:00
2010-09-04 18:04:34 +01:00
2010-01-28 22:36:48 -05:00
2010-09-03 23:03:14 -04:00
2008-05-05 15:02:15 +00:00
2010-09-04 18:04:34 +01:00
2009-04-22 08:36:02 -04:00
2008-09-11 16:48:44 +00:00
2008-09-11 16:48:44 +00:00
2010-09-20 22:51:26 -04:00
2008-07-28 00:24:14 +00:00
2010-09-06 11:43:04 +01:00
2010-07-10 20:09:34 -04:00
2010-07-07 19:34:35 -04:00
2010-05-08 21:30:27 -04:00
2010-05-27 14:51:41 -04:00
2010-05-27 14:51:41 -04:00
2010-06-15 16:06:18 +01:00
2010-09-17 11:40:10 -04:00
2010-07-07 19:34:35 -04:00
2010-02-04 00:12:50 +02:00
2010-05-27 14:51:41 -04:00
2010-11-26 15:07:28 -05:00
2010-07-12 15:33:05 -04:00
2010-08-24 22:48:15 +01:00
2010-10-28 11:20:57 -04:00
2010-10-28 11:20:57 -04:00
2010-04-23 15:26:49 +01:00
2010-11-26 15:07:28 -05:00
2010-11-26 15:07:28 -05:00
2010-07-07 19:34:35 -04:00
2009-06-18 15:01:18 -04:00
2010-09-13 12:14:08 -04:00
2010-09-13 12:14:08 -04:00
2010-09-01 09:48:16 +02:00
2010-09-01 09:48:16 +02:00
2010-11-09 09:53:12 +08:00
2009-06-27 11:03:47 +03:00
2008-04-08 02:59:05 +00:00
2010-09-03 20:46:40 -04:00
2010-07-08 19:26:25 -04:00
2010-09-17 13:14:59 -04:00
2010-02-21 17:59:15 -05:00
2010-07-07 19:34:35 -04:00
2008-05-05 15:02:15 +00:00
2010-09-13 16:52:51 +02:00
2010-07-10 23:56:45 -04:00
2010-09-03 20:41:52 -04:00
2008-05-05 15:02:15 +00:00
2010-09-05 00:23:03 -04:00
2008-03-14 19:30:38 +00:00
2004-07-21 17:51:28 +00:00
2010-09-03 23:03:14 -04:00
2008-05-05 15:02:15 +00:00
2008-05-05 15:02:15 +00:00
2010-09-03 20:55:17 -04:00
2008-05-05 15:02:15 +00:00
2010-09-04 18:04:34 +01:00
2008-05-05 15:02:15 +00:00
2010-09-18 12:52:58 -04:00
2010-08-08 23:55:11 -04:00
2010-07-07 19:34:35 -04:00
2010-06-23 22:32:35 -04:00
2010-11-09 09:53:12 +08:00
2008-05-05 15:02:15 +00:00
2008-04-08 02:59:05 +00:00
2010-09-03 20:27:45 -04:00
2008-05-05 15:02:15 +00:00
2010-09-04 18:04:34 +01:00
2008-05-05 15:02:15 +00:00
2010-09-06 15:57:32 +03:00
2010-02-22 00:35:45 -05:00
2010-10-28 11:20:57 -04:00
2010-10-28 11:20:57 -04:00
2008-08-04 18:46:59 +00:00
2010-07-07 19:34:35 -04:00
2010-09-06 11:43:04 +01:00
2008-05-05 15:02:15 +00:00
2010-09-06 15:57:32 +03:00
2010-03-30 20:46:46 +03:00
2010-09-03 23:03:14 -04:00
2010-05-20 21:16:29 +02:00
2010-11-17 12:24:53 -05:00
2008-05-05 15:02:15 +00:00
2010-08-26 00:16:30 -04:00
2010-08-07 19:59:36 -04:00
2010-07-12 16:56:52 -04:00
2010-07-12 16:56:52 -04:00
2010-07-13 11:59:16 -04:00
2010-05-06 17:42:09 +02:00
2010-09-03 23:03:14 -04:00
2008-05-05 15:02:15 +00:00
2010-01-28 12:40:46 -05:00
2010-11-21 22:01:52 -05:00
2008-05-05 15:02:15 +00:00
2010-09-17 11:40:10 -04:00
2010-09-17 11:40:10 -04:00
2010-09-03 20:05:27 -04:00
2009-07-05 12:30:54 +01:00
2010-11-02 22:39:09 -04:00
2010-09-03 20:38:30 -04:00
2010-09-03 20:38:30 -04:00
2008-04-08 02:59:05 +00:00
2010-06-20 01:14:55 -04:00
2010-09-03 21:12:03 -04:00
2010-09-12 14:05:49 +03:00
2006-07-19 22:35:17 +00:00
2010-09-05 00:23:03 -04:00
2006-07-19 22:35:17 +00:00
2010-09-12 14:05:49 +03:00
2010-07-07 19:34:35 -04:00
2010-01-30 00:01:26 -05:00
2010-09-04 17:22:18 +01:00
2010-11-06 17:35:10 -04:00
2010-11-06 17:35:10 -04:00
2010-10-26 11:49:32 -04:00
2010-02-10 11:35:01 -05:00
2010-03-08 10:31:19 -05:00
2010-09-03 20:12:09 -04:00
2010-09-15 11:21:44 -04:00
2010-03-08 10:31:19 -05:00
2010-11-06 12:27:01 +01:00
2010-11-05 21:33:43 -04:00
2010-07-07 19:34:35 -04:00
2010-07-07 16:25:48 -04:00
2010-07-07 19:34:35 -04:00
2010-03-08 10:31:19 -05:00
2010-07-07 19:34:35 -04:00
2008-09-13 20:23:17 +00:00
2009-09-21 15:39:00 +02:00
2010-10-27 09:22:12 -04:00
2010-07-07 19:34:35 -04:00
2010-09-11 12:08:32 +03:00