[gtk+] Fix the build
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix the build
- Date: Tue, 5 Dec 2017 11:09:15 +0000 (UTC)
commit 66f7f1768fc95c51ab346cacf7259cdaebc68ff2
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue Dec 5 11:02:20 2017 +0000
Fix the build
Use the right argument name in the preconditions check.
gdk/gdkclipboard.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdkclipboard.c b/gdk/gdkclipboard.c
index 61f24bf..63bd629 100644
--- a/gdk/gdkclipboard.c
+++ b/gdk/gdkclipboard.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]