2009-02-16 Ryan Lortie <desrt@desrt.ca>
* gobject/valagasyncmodule.vala: remove the dummy-object hack since
gio now supports NULL source objects for GSimpleAsyncResult
svn path=/trunk/; revision=2444
+2009-02-16 Ryan Lortie <desrt@desrt.ca>
+
+ * gobject/valagasyncmodule.vala: remove the dummy-object hack since
+ gio now supports NULL source objects for GSimpleAsyncResult
+
2009-02-14 Ryan Lortie <desrt@desrt.ca>
* gobject/valagasyncmodule.vala:
cl != null && cl.is_subtype_of (gobject_type)) {
create_result.add_argument (new CCodeIdentifier ("self"));
} else {
- var object_creation = new CCodeFunctionCall (new CCodeIdentifier ("g_object_newv"));
- object_creation.add_argument (new CCodeConstant ("G_TYPE_OBJECT"));
- object_creation.add_argument (new CCodeConstant ("0"));
- object_creation.add_argument (new CCodeConstant ("NULL"));
- create_result.add_argument (object_creation);
+ create_result.add_argument (new CCodeConstant ("NULL"));
}
create_result.add_argument (new CCodeIdentifier ("callback"));