Re: g_app_launch_context_get_startup_notify_id
- From: "Gian Mario Tagliaretti" <gianmt gnome org>
- To: "Matthias Clasen" <matthias clasen gmail com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>
- Subject: Re: g_app_launch_context_get_startup_notify_id
- Date: Sun, 6 Jul 2008 11:38:27 +0200
On Sun, Jul 6, 2008 at 1:16 AM, Matthias Clasen
<matthias clasen gmail com> wrote:
Matthias,
> Both functions (get_display and get_startup_notify) take a list of GFiles.
> The documentation should be clarified.
> Although I honestly have no idea what use get_display could make of
> the files....
I've seen your commit to the docs but I'm afraid there is a little
mistake (@ instead of #) and you didn't commit the same fix for
get_startup_notify_id.
Moreover also launch and launch_uris deserve a little clarification in
the docs, files and launch_context can be NULL.
Here is a patch, ok to commit?
Index: gio/gappinfo.c
===================================================================
--- gio/gappinfo.c (revision 7166)
+++ gio/gappinfo.c (working copy)
@@ -393,8 +393,8 @@
/**
* g_app_info_launch:
* @appinfo: a #GAppInfo.
- * @files: a #GList of #GFile objects.
- * @launch_context: a #GAppLaunchContext.
+ * @files: a #GList of #GFile objects or %NULL.
+ * @launch_context: a #GAppLaunchContext or %NULL.
* @error: a #GError.
*
* Launches the application. Passes @files to the launched application
@@ -476,8 +476,8 @@
/**
* g_app_info_launch_uris:
* @appinfo: a #GAppInfo.
- * @uris: a #GList containing URIs to launch.
- * @launch_context: a #GAppLaunchContext.
+ * @uris: a #GList containing URIs to launch or %NULL.
+ * @launch_context: a #GAppLaunchContext or %NULL.
* @error: a #GError.
*
* Launches the application. Passes @uris to the launched application
@@ -604,7 +604,7 @@
* g_app_launch_context_get_display:
* @context: a #GAppLaunchContext.
* @info: a #GAppInfo.
- * @files: a #GList of @GFile<!-- -->s.
+ * @files: a #GList of #GFile<!-- -->s.
*
* Gets the display string for the display. This is used to ensure new
* applications are started on the same display as the launching
@@ -634,7 +634,7 @@
* g_app_launch_context_get_startup_notify_id:
* @context: a #GAppLaunchContext.
* @info: a #GAppInfo.
- * @files: a #GList of files.
+ * @files: a #GList of #GFile<!-- -->s.
*
* Initiates startup notification for the application and returns the
* DESKTOP_STARTUP_ID for the launched operation, if supported.
cheers
--
Gian Mario Tagliaretti
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]