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
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
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
/**
* 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
* 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;
* 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
/**
* 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()
*
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);
* 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()
/**
* 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