mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
Fix the build
Use the right argument name in the preconditions check.
This commit is contained in:
parent
4a11baa372
commit
66f7f1768f
@ -1002,7 +1002,7 @@ gdk_clipboard_read_text_finish (GdkClipboard *clipboard,
|
||||
const GValue *value;
|
||||
|
||||
g_return_val_if_fail (g_task_is_valid (result, clipboard), NULL);
|
||||
g_return_val_if_fail (g_task_get_source_tag (G_TASK (res)) == gdk_clipboard_read_text_async, NULL);
|
||||
g_return_val_if_fail (g_task_get_source_tag (G_TASK (result)) == gdk_clipboard_read_text_async, NULL);
|
||||
g_return_val_if_fail (error == NULL || *error == NULL, NULL);
|
||||
|
||||
value = g_task_propagate_pointer (G_TASK (result), error);
|
||||
|
Loading…
Reference in New Issue
Block a user