[vala] GAsync: Drop the synchronous version of async methods



commit 1f67508ce1b184e13086c942ae44908d1ce5a9a4
Author: Jürg Billeter <j bitron ch>
Date:   Sun Sep 13 10:59:00 2009 +0200

    GAsync: Drop the synchronous version of async methods

 codegen/valagasyncmodule.vala |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/codegen/valagasyncmodule.vala b/codegen/valagasyncmodule.vala
index 5672006..fa985e6 100644
--- a/codegen/valagasyncmodule.vala
+++ b/codegen/valagasyncmodule.vala
@@ -198,11 +198,6 @@ internal class Vala.GAsyncModule : GSignalModule {
 				header_declarations.add_include ("gio/gio.h");
 			}
 
-			// append the synchronous version
-			m.coroutine = false;
-			base.visit_method (m);
-			m.coroutine = true;
-
 			if (!m.is_abstract) {
 				var data = generate_data_struct (m);
 				append_struct (data);



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