Documentation fixups

This commit is contained in:
Matthias Clasen 2010-06-17 16:07:52 -04:00
parent 19a752a5f4
commit 8a105625b0
4 changed files with 18 additions and 16 deletions

View File

@ -2128,7 +2128,7 @@ GSettingsBackendPrivate
GSettings
g_settings_new
g_settings_new_with_path
g_settings_new_with_backend_
g_settings_new_with_backend
g_settings_new_with_backend_and_path
g_settings_sync
g_settings_get_value
@ -2624,9 +2624,9 @@ GApplication
GApplicationClass
g_application_new
g_application_new_and_register
g_application_register_with_data
g_application_format_activation_data
g_application_register
g_application_try_new
g_application_unregistered_try_new
g_application_get_instance
g_application_get_id
g_application_add_action
@ -2637,7 +2637,7 @@ g_application_get_action_enabled
g_application_get_action_description
g_application_invoke_action
g_application_run
g_application_quit
g_application_quit_with_data
g_application_is_remote
<SUBSECTION Standard>
G_TYPE_APPLICATION

View File

@ -536,8 +536,8 @@ g_application_unregistered_try_new (const gchar *appid,
/**
* g_application_register:
* @app: a #GApplication
*
* @application: a #GApplication
*
* By default, #GApplication ensures process uniqueness when
* initialized, but this behavior is controlled by the
* GApplication:register property. If it was given as %FALSE at
@ -547,13 +547,13 @@ g_application_unregistered_try_new (const gchar *appid,
* Returns: %TRUE if registration was successful
*/
gboolean
g_application_register (GApplication *app)
g_application_register (GApplication *application)
{
gboolean unique;
g_return_val_if_fail (G_IS_APPLICATION (app), FALSE);
g_return_val_if_fail (app->priv->is_remote, FALSE);
if (!_g_application_platform_register (app, &unique, NULL, NULL))
return FALSE;
return unique;
@ -951,6 +951,8 @@ g_application_get_id (GApplication *application)
* g_application_is_remote:
* @application: a #GApplication
*
* Returns whether the object represents a proxy for a remote application.
*
* Returns: %TRUE if this object represents a proxy for a remote application.
*/
gboolean

View File

@ -62,8 +62,8 @@ struct _GApplication
/**
* GApplicationClass:
* @action: class handler for the #GApplication::action signal
* @quit: class handler for the #GApplication::quit signal
* @action_with_data: class handler for the #GApplication::action-with-data signal
* @quit_with_data: class handler for the #GApplication::quit-with-data signal
* @prepare_activation: class handler for the #GApplication::prepare-activation signal
* @run: virtual function, called by g_application_run()
*
@ -139,7 +139,7 @@ void g_application_invoke_action (GApplication
GVariant *platform_data);
void g_application_run (GApplication *application);
gboolean g_application_quit_with_data (GApplication *app,
gboolean g_application_quit_with_data (GApplication *application,
GVariant *platform_data);
gboolean g_application_is_remote (GApplication *application);

View File

@ -64,8 +64,8 @@ G_DEFINE_TYPE_WITH_CODE (GUnixConnection, g_unix_connection,
* g_unix_connection_send_fd:
* @connection: a #GUnixConnection
* @fd: a file descriptor
* @cancellable: optional #GCancellable object, %NULL to ignore.
* @error: #GError for error reporting, or %NULL to ignore.
* @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore.
* @error: (allow-none): #GError for error reporting, or %NULL to ignore.
*
* Passes a file descriptor to the recieving side of the
* connection. The recieving end has to call g_unix_connection_receive_fd()
@ -118,8 +118,8 @@ g_unix_connection_send_fd (GUnixConnection *connection,
/**
* g_unix_connection_receive_fd:
* @connection: a #GUnixConnection
* @cancellable: optional #GCancellable object, %NULL to ignore
* @error: #GError for error reporting, or %NULL to ignore
* @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore
* @error: (allow-none): #GError for error reporting, or %NULL to ignore
*
* Receives a file descriptor from the sending end of the connection.
* The sending end has to call g_unix_connection_send_fd() for this