summaryrefslogtreecommitdiff
path: root/src/x11/meta-selection-source-x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/meta-selection-source-x11.c')
-rw-r--r--src/x11/meta-selection-source-x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11/meta-selection-source-x11.c b/src/x11/meta-selection-source-x11.c
index a4290b6d7..35451542b 100644
--- a/src/x11/meta-selection-source-x11.c
+++ b/src/x11/meta-selection-source-x11.c
@@ -48,7 +48,7 @@ stream_new_cb (GObject *source,
GInputStream *stream;
GError *error = NULL;
- stream = meta_x11_selection_input_stream_new_finish (res, NULL, NULL, &error);
+ stream = meta_x11_selection_input_stream_new_finish (res, &error);
if (stream)
g_task_return_pointer (task, stream, g_object_unref);
@@ -217,7 +217,7 @@ get_mimetypes_cb (GObject *source,
GInputStream *stream;
GError *error = NULL;
- stream = meta_x11_selection_input_stream_new_finish (res, NULL, NULL, &error);
+ stream = meta_x11_selection_input_stream_new_finish (res, &error);
if (error)
{
g_task_return_error (task, error);