asyncworker r89 - trunk/liboasyncworker
- From: pvanhoof svn gnome org
- To: svn-commits-list gnome org
- Subject: asyncworker r89 - trunk/liboasyncworker
- Date: Sun, 27 Apr 2008 13:45:58 +0100 (BST)
Author: pvanhoof
Date: Sun Apr 27 12:45:58 2008
New Revision: 89
URL: http://svn.gnome.org/viewvc/asyncworker?rev=89&view=rev
Log:
Better gtk-doc comments
Modified:
trunk/liboasyncworker/oasyncworker.c
Modified: trunk/liboasyncworker/oasyncworker.c
==============================================================================
--- trunk/liboasyncworker/oasyncworker.c (original)
+++ trunk/liboasyncworker/oasyncworker.c Sun Apr 27 12:45:58 2008
@@ -569,12 +569,14 @@
* #include <oasyncworker/oasyncworker.h>
* int main (int argc, char **argv)
* {
+ * GMainLoop *loop = g_main_loop_new (NULL, FALSE);
* OAsyncWorker *queue = o_async_worker_new ();
* OAsyncWorkerTask *task = o_async_worker_task_new ();
* o_async_worker_task_set_func (task, ...);
* o_async_worker_task_set_callback (task, ...);
* o_async_worker_add (queue, task);
- * g_object_unref (task)l
+ * g_object_unref (task);
+ * g_main_loop_run (loop);
* o_async_worker_join (queue);
* g_object_unref (queue);
* }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]