mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
Fix a signal signature
GApplication::action was erroneously declaring the timestamp parameter as int instead of uint.
This commit is contained in:
parent
063470ea0d
commit
a89b10c1dc
@ -393,6 +393,10 @@ g_application_new (const gchar *appid)
|
|||||||
* may be initiated. After that, the current process will terminate.
|
* may be initiated. After that, the current process will terminate.
|
||||||
* If %FALSE, then the application remains in the #GApplication:is-remote
|
* If %FALSE, then the application remains in the #GApplication:is-remote
|
||||||
* state, and you can e.g. call g_application_invoke_action().
|
* state, and you can e.g. call g_application_invoke_action().
|
||||||
|
*
|
||||||
|
* This function may do synchronous I/O to obtain unique ownership
|
||||||
|
* of the application id, and will block the calling thread in this
|
||||||
|
* case.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
g_application_register_with_data (GApplication *application,
|
g_application_register_with_data (GApplication *application,
|
||||||
@ -425,7 +429,8 @@ g_application_register_with_data (GApplication *application,
|
|||||||
* @argv: (array length=argc): System argument vector
|
* @argv: (array length=argc): System argument vector
|
||||||
*
|
*
|
||||||
* This is a convenience function which combines g_application_new()
|
* This is a convenience function which combines g_application_new()
|
||||||
* with g_application_register_with_data().
|
* with g_application_register_with_data(). Therefore, it may block
|
||||||
|
* the calling thread just like g_application_register_with_data().
|
||||||
*/
|
*/
|
||||||
GApplication *
|
GApplication *
|
||||||
g_application_new_and_register (const gchar *appid,
|
g_application_new_and_register (const gchar *appid,
|
||||||
@ -1000,10 +1005,10 @@ g_application_class_init (GApplicationClass *klass)
|
|||||||
G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE | G_SIGNAL_DETAILED,
|
G_SIGNAL_RUN_FIRST | G_SIGNAL_NO_RECURSE | G_SIGNAL_DETAILED,
|
||||||
G_STRUCT_OFFSET (GApplicationClass, action),
|
G_STRUCT_OFFSET (GApplicationClass, action),
|
||||||
NULL, NULL,
|
NULL, NULL,
|
||||||
_gio_marshal_VOID__STRING_INT,
|
_gio_marshal_VOID__STRING_UINT,
|
||||||
G_TYPE_NONE, 2,
|
G_TYPE_NONE, 2,
|
||||||
G_TYPE_STRING,
|
G_TYPE_STRING,
|
||||||
G_TYPE_INT);
|
G_TYPE_UINT);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GApplication::prepare-activation:
|
* GApplication::prepare-activation:
|
||||||
|
Loading…
Reference in New Issue
Block a user