gnomemm r1049 - in libgdamm/trunk: . libgda/src



Author: arminb
Date: 2007-03-19 14:11:49 +0000 (Mon, 19 Mar 2007)
New Revision: 1049
ViewCVS link: http://svn.gnome.org/viewcvs/gnomemm?rev=1049&view=rev

Modified:
   libgdamm/trunk/ChangeLog
   libgdamm/trunk/libgda/src/parameter.ccg
   libgdamm/trunk/libgda/src/parameter.hg
Log:
2007-03-18  Armin Burgmeier  <armin openismus com>

	* libgda/src/parameter.hg:
	* libgda/src/parameter.ccg: Set g-type property on construction as the
	C implementation does, otherwise the value is always NULL. Added a
	constructor that takes a const char*, otherwise
	Parameter::create("foo", "bar") calls actually
	Parameter::create(ustring, bool). Just call Value constructor with the
	GValue* as argument in get_value() and get_default_value(). This works
	also if the value is NULL.





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