mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'mcatanzaro/#2805' into 'main'
gtask: don't use g_task_set_static_name() unless allowed Closes #2805 See merge request GNOME/glib!3056
This commit is contained in:
commit
66a6fedca3
@ -84,7 +84,7 @@ void g_task_set_static_name (GTask *task,
|
||||
const gchar *name);
|
||||
|
||||
/* Macro wrapper to set the task name when setting the source tag. */
|
||||
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_60
|
||||
#if GLIB_VERSION_MIN_REQUIRED >= GLIB_VERSION_2_76
|
||||
#define g_task_set_source_tag(task, tag) G_STMT_START { \
|
||||
GTask *_task = (task); \
|
||||
(g_task_set_source_tag) (_task, tag); \
|
||||
|
Loading…
Reference in New Issue
Block a user