[the-board] [tb] Allow null on cancellable arg in tb_g_file_replace_contents



commit 117a906d67ffd881f59e0ce48e3c8b0b4eb73705
Author: Lucas Rocha <lucasr gnome org>
Date:   Mon Nov 29 20:24:51 2010 +0000

    [tb] Allow null on cancellable arg in tb_g_file_replace_contents

 src/tb/tb-gio-util.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/tb/tb-gio-util.c b/src/tb/tb-gio-util.c
index 0dbe9a1..7460027 100644
--- a/src/tb/tb-gio-util.c
+++ b/src/tb/tb-gio-util.c
@@ -7,6 +7,12 @@
 /* This is a workaround to force file contents arg in
  * g_file_replace_contents_async to be marshaled as a
  * bytearray */
+
+
+/**
+ * tb_g_file_replace_contents_async:
+ * @cancellable: (allow-none):
+ */
 void
 tb_g_file_replace_contents_async(GFile *file,
                                  GByteArray *contents,



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