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

View File

@ -536,7 +536,7 @@ g_application_unregistered_try_new (const gchar *appid,
/** /**
* g_application_register: * g_application_register:
* @app: a #GApplication * @application: a #GApplication
* *
* By default, #GApplication ensures process uniqueness when * By default, #GApplication ensures process uniqueness when
* initialized, but this behavior is controlled by the * initialized, but this behavior is controlled by the
@ -547,7 +547,7 @@ g_application_unregistered_try_new (const gchar *appid,
* Returns: %TRUE if registration was successful * Returns: %TRUE if registration was successful
*/ */
gboolean gboolean
g_application_register (GApplication *app) g_application_register (GApplication *application)
{ {
gboolean unique; gboolean unique;
@ -951,6 +951,8 @@ g_application_get_id (GApplication *application)
* g_application_is_remote: * g_application_is_remote:
* @application: a #GApplication * @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. * Returns: %TRUE if this object represents a proxy for a remote application.
*/ */
gboolean gboolean

View File

@ -62,8 +62,8 @@ struct _GApplication
/** /**
* GApplicationClass: * GApplicationClass:
* @action: class handler for the #GApplication::action signal * @action_with_data: class handler for the #GApplication::action-with-data signal
* @quit: class handler for the #GApplication::quit signal * @quit_with_data: class handler for the #GApplication::quit-with-data signal
* @prepare_activation: class handler for the #GApplication::prepare-activation signal * @prepare_activation: class handler for the #GApplication::prepare-activation signal
* @run: virtual function, called by g_application_run() * @run: virtual function, called by g_application_run()
* *
@ -139,7 +139,7 @@ void g_application_invoke_action (GApplication
GVariant *platform_data); GVariant *platform_data);
void g_application_run (GApplication *application); 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); GVariant *platform_data);
gboolean g_application_is_remote (GApplication *application); 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: * g_unix_connection_send_fd:
* @connection: a #GUnixConnection * @connection: a #GUnixConnection
* @fd: a file descriptor * @fd: a file descriptor
* @cancellable: optional #GCancellable object, %NULL to ignore. * @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore.
* @error: #GError for error reporting, or %NULL to ignore. * @error: (allow-none): #GError for error reporting, or %NULL to ignore.
* *
* Passes a file descriptor to the recieving side of the * Passes a file descriptor to the recieving side of the
* connection. The recieving end has to call g_unix_connection_receive_fd() * 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: * g_unix_connection_receive_fd:
* @connection: a #GUnixConnection * @connection: a #GUnixConnection
* @cancellable: optional #GCancellable object, %NULL to ignore * @cancellable: (allow-none): optional #GCancellable object, %NULL to ignore
* @error: #GError for error reporting, or %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. * Receives a file descriptor from the sending end of the connection.
* The sending end has to call g_unix_connection_send_fd() for this * The sending end has to call g_unix_connection_send_fd() for this