[Xfce4-commits] r29948 - in libexo/trunk: . docs/reference docs/reference/tmpl exo
Jannis Pohlmann
jannis at xfce.org
Tue May 12 00:48:08 CEST 2009
Author: jannis
Date: 2009-05-11 22:48:08 +0000 (Mon, 11 May 2009)
New Revision: 29948
Modified:
libexo/trunk/ChangeLog
libexo/trunk/docs/reference/exo-open.xml
libexo/trunk/docs/reference/exo-sections.txt
libexo/trunk/docs/reference/tmpl/exo-job.sgml
libexo/trunk/exo/exo-job.c
libexo/trunk/exo/exo-job.h
Log:
* docs/reference/exo-sections.txt, docs/reference/tmpl/exo-job.sgml:
Update sections.
* docs/reference/exo-open.xml: Fix typo spotted by Yves-Alexis.
* exo/exo-job.{c,h}: Add new function exo_job_send_to_mainloop() which
is a simple wrapper around g_io_scheduler_job_send_to_mainloop(). I
don't want to expose any the GIO scheduling internals.
Modified: libexo/trunk/ChangeLog
===================================================================
--- libexo/trunk/ChangeLog 2009-05-11 21:38:30 UTC (rev 29947)
+++ libexo/trunk/ChangeLog 2009-05-11 22:48:08 UTC (rev 29948)
@@ -1,3 +1,12 @@
+2009-05-12 Jannis Pohlmann <jannis at xfce.org>
+
+ * docs/reference/exo-sections.txt, docs/reference/tmpl/exo-job.sgml:
+ Update sections.
+ * docs/reference/exo-open.xml: Fix typo spotted by Yves-Alexis.
+ * exo/exo-job.{c,h}: Add new function exo_job_send_to_mainloop() which
+ is a simple wrapper around g_io_scheduler_job_send_to_mainloop(). I
+ don't want to expose any the GIO scheduling internals.
+
2009-05-11 Nick Schermer <nick at xfce.org>
* exo/exo-job.c, exo/exo-cell-renderer-icon.c: Fix compiler warnings.
Modified: libexo/trunk/docs/reference/exo-open.xml
===================================================================
--- libexo/trunk/docs/reference/exo-open.xml 2009-05-11 21:38:30 UTC (rev 29947)
+++ libexo/trunk/docs/reference/exo-open.xml 2009-05-11 22:48:08 UTC (rev 29948)
@@ -73,7 +73,7 @@
<listitem>
<para>
When using the <option>--launch</option> option and this option is specified as well, the application will
- be run in the given <parameter>directory</parameter>. This is primarly useful when running the preferred
+ be run in the given <parameter>directory</parameter>. This is primarily useful when running the preferred
<emphasis role="bold">TerminalEmulator</emphasis> from another application and you want the command in the
terminal window to be run in a specific directory.
</para>
Modified: libexo/trunk/docs/reference/exo-sections.txt
===================================================================
--- libexo/trunk/docs/reference/exo-sections.txt 2009-05-11 21:38:30 UTC (rev 29947)
+++ libexo/trunk/docs/reference/exo-sections.txt 2009-05-11 22:48:08 UTC (rev 29948)
@@ -338,6 +338,7 @@
exo_job_emit
exo_job_info_message
exo_job_percent
+exo_job_send_to_mainloop
<SUBSECTION Standard>
ExoJobPrivate
ExoJobClass
Modified: libexo/trunk/docs/reference/tmpl/exo-job.sgml
===================================================================
--- libexo/trunk/docs/reference/tmpl/exo-job.sgml 2009-05-11 21:38:30 UTC (rev 29947)
+++ libexo/trunk/docs/reference/tmpl/exo-job.sgml 2009-05-11 22:48:08 UTC (rev 29948)
@@ -138,3 +138,15 @@
@percent:
+<!-- ##### FUNCTION exo_job_send_to_mainloop ##### -->
+<para>
+
+</para>
+
+ at job:
+ at func:
+ at user_data:
+ at destroy_notify:
+ at Returns:
+
+
Modified: libexo/trunk/exo/exo-job.c
===================================================================
--- libexo/trunk/exo/exo-job.c 2009-05-11 21:38:30 UTC (rev 29947)
+++ libexo/trunk/exo/exo-job.c 2009-05-11 22:48:08 UTC (rev 29948)
@@ -631,3 +631,17 @@
exo_job_emit (job, job_signals[PERCENT], 0, percent);
}
+
+
+
+gboolean
+exo_job_send_to_mainloop (ExoJob *job,
+ GSourceFunc func,
+ gpointer user_data,
+ GDestroyNotify destroy_notify)
+{
+ _exo_return_val_if_fail (EXO_IS_JOB (job), FALSE);
+
+ return g_io_scheduler_job_send_to_mainloop (job->priv->scheduler_job, func, user_data,
+ destroy_notify);
+}
Modified: libexo/trunk/exo/exo-job.h
===================================================================
--- libexo/trunk/exo/exo-job.h 2009-05-11 21:38:30 UTC (rev 29947)
+++ libexo/trunk/exo/exo-job.h 2009-05-11 22:48:08 UTC (rev 29948)
@@ -68,21 +68,25 @@
GType exo_job_get_type (void) G_GNUC_CONST;
-ExoJob *exo_job_launch (ExoJob *job);
-void exo_job_cancel (ExoJob *job);
-gboolean exo_job_is_cancelled (const ExoJob *job);
-GCancellable *exo_job_get_cancellable (const ExoJob *job);
-gboolean exo_job_set_error_if_cancelled (ExoJob *job,
- GError **error);
-void exo_job_emit (ExoJob *job,
- guint signal_id,
- GQuark signal_detail,
+ExoJob *exo_job_launch (ExoJob *job);
+void exo_job_cancel (ExoJob *job);
+gboolean exo_job_is_cancelled (const ExoJob *job);
+GCancellable *exo_job_get_cancellable (const ExoJob *job);
+gboolean exo_job_set_error_if_cancelled (ExoJob *job,
+ GError **error);
+void exo_job_emit (ExoJob *job,
+ guint signal_id,
+ GQuark signal_detail,
...);
-void exo_job_info_message (ExoJob *job,
- const gchar *format,
+void exo_job_info_message (ExoJob *job,
+ const gchar *format,
...);
-void exo_job_percent (ExoJob *job,
- gdouble percent);
+void exo_job_percent (ExoJob *job,
+ gdouble percent);
+gboolean exo_job_send_to_mainloop (ExoJob *job,
+ GSourceFunc func,
+ gpointer user_data,
+ GDestroyNotify destroy_notify);
G_END_DECLS
More information about the Xfce4-commits
mailing list