[gtk+/wip/baedert/gtkimageview: 52/135] GtkImageView: Propagate GTask error



commit d2e706361a8a52bedf21bc853be0ccd2d6534cf6
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]