mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gsignal: Add G_CONNECT_DEFAULT
This makes calls to g_signal_connect_data() and g_signal_connect_object() with default flags more self-documenting. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -1530,7 +1530,8 @@ g_task_start_task_thread (GTask *task,
|
||||
g_signal_connect_data (task->cancellable, "cancelled",
|
||||
G_CALLBACK (task_thread_cancelled),
|
||||
g_object_ref (task),
|
||||
task_thread_cancelled_disconnect_notify, 0);
|
||||
task_thread_cancelled_disconnect_notify,
|
||||
G_CONNECT_DEFAULT);
|
||||
}
|
||||
|
||||
if (g_private_get (&task_private))
|
||||
|
Reference in New Issue
Block a user