[Xfce4-commits] <exo:master> Another ExoSimpleJob doc update.
Jannis Pohlmann
jannis at xfce.org
Wed Sep 2 16:24:01 CEST 2009
Updating branch refs/heads/master
to 5000268e78776d9566cbc1b966b8e179403f117c (commit)
from 710bbb267cd5554c7d3848b3bbea6c1edc438b39 (commit)
commit 5000268e78776d9566cbc1b966b8e179403f117c
Author: Jannis Pohlmann <jannis at xfce.org>
Date: Wed Sep 2 16:22:22 2009 +0200
Another ExoSimpleJob doc update.
exo/exo-simple-job.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/exo/exo-simple-job.c b/exo/exo-simple-job.c
index a7918ee..7388b7e 100644
--- a/exo/exo-simple-job.c
+++ b/exo/exo-simple-job.c
@@ -229,7 +229,9 @@ exo_simple_job_execute (ExoJob *job,
* ...
*
* GFile *file = g_file_new_for_path ("/home/user");
- * exo_simple_job_launch (list_directory, 1, G_TYPE_FILE, file);
+ * ExoJob *job = exo_simple_job_launch (list_directory, 1, G_TYPE_FILE, file);
+ * g_signal_connect (job, "info-message", G_CALLBACK (update_some_widget), widget);
+ * g_signal_connect (job, "finished", G_CALLBACK (unref_the_job_object), NULL);
* </programlisting></informalexample>
*
* The caller is responsible to release the returned #ExoJob object
More information about the Xfce4-commits
mailing list