vala r2444 - in trunk: . gobject
- From: ryanl svn gnome org
- To: svn-commits-list gnome org
- Subject: vala r2444 - in trunk: . gobject
- Date: Mon, 16 Feb 2009 09:52:24 +0000 (UTC)
Author: ryanl
Date: Mon Feb 16 09:52:24 2009
New Revision: 2444
URL: http://svn.gnome.org/viewvc/vala?rev=2444&view=rev
Log:
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
Modified:
trunk/ChangeLog
trunk/gobject/valagasyncmodule.vala
Modified: trunk/gobject/valagasyncmodule.vala
==============================================================================
--- trunk/gobject/valagasyncmodule.vala (original)
+++ trunk/gobject/valagasyncmodule.vala Mon Feb 16 09:52:24 2009
@@ -127,11 +127,7 @@
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"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]