[gnome-builder/wip/libide] snippets: remove cancellable from finish preconditions



commit a00ed698f70e4c6c696f07b44ac6e450f1f0101f
Author: Christian Hergert <christian hergert me>
Date:   Fri Feb 27 13:02:39 2015 -0800

    snippets: remove cancellable from finish preconditions

 data/snippets/gobject.snippets |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/data/snippets/gobject.snippets b/data/snippets/gobject.snippets
index ed48b40..f2c7fdb 100644
--- a/data/snippets/gobject.snippets
+++ b/data/snippets/gobject.snippets
@@ -215,7 +215,6 @@ snippet finish
                GTask *task = (GTask *)result;
 
                g_return_val_if_fail 
(${$filename|stripsuffix|functify|namespace|upper}_IS_${$filename|stripsuffix|class|functify|upper} (self), 
${3:FALSE});
-               g_return_if_fail (!cancellable || G_IS_CANCELLABLE (cancellable));
 
                return g_task_propagate_${4:boolean} (task, error);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]