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



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