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



Author: jhs
Date: Thu Nov 27 16:26:23 2008
New Revision: 1813
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1813&view=rev

Log:
2008-11-27  Johannes Schmid  <jschmid openimus com>

	* libgda/src/holder.ccg:
	Use _CONSTRUCT macro instead of hard-coding everything


Modified:
   libgdamm/trunk/ChangeLog
   libgdamm/trunk/libgda/src/holder.ccg

Modified: libgdamm/trunk/libgda/src/holder.ccg
==============================================================================
--- libgdamm/trunk/libgda/src/holder.ccg	(original)
+++ libgdamm/trunk/libgda/src/holder.ccg	Thu Nov 27 16:26:23 2008
@@ -30,10 +30,7 @@
 {
 
 Holder::Holder (GType g_type, const Glib::ustring& id)
- : // Mark this class as non-derived to allow C++ vfuncs to be skipped.
-  Glib::ObjectBase(0),
-  Glib::Object(Glib::ConstructParams(holder_class_.init(), "g-type", g_type,
-                               "id", id.c_str(), static_cast<char*>(0)))
+ : _CONSTRUCT("g-type", g_type, "id", id.c_str())
 {
 
 }



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