[gtk+/wip/baedert/gtkimageview: 155/232] GtkImageView: Propagate GTask error
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview: 155/232] GtkImageView: Propagate GTask error
- Date: Wed, 17 Aug 2016 08:00:46 +0000 (UTC)
commit da51dea8075765900607dcf42f6fb270a63c6f5b
Author: Timm Bäder <mail baedert org>
Date: Fri Jan 22 17:38:47 2016 +0100
GtkImageView: Propagate GTask error
gtk/gtkimageview.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkimageview.c b/gtk/gtkimageview.c
index 49b1b39..c2150cf 100644
--- a/gtk/gtkimageview.c
+++ b/gtk/gtkimageview.c
@@ -2049,6 +2049,7 @@ gtk_image_view_load_from_file_finish (GtkImageView *image_view,
GError **error)
{
g_return_if_fail (g_task_is_valid (result, image_view));
+ g_task_propagate_pointer (G_TASK (result), error);
}
@@ -2084,6 +2085,7 @@ gtk_image_view_load_from_stream_finish (GtkImageView *image_view,
GError **error)
{
g_return_if_fail (g_task_is_valid (result, image_view));
+ g_task_propagate_pointer (G_TASK (result), error);
}
/*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]