gnomemm r1810 - in libgdamm/trunk: . libgda/src
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r1810 - in libgdamm/trunk: . libgda/src
- Date: Tue, 25 Nov 2008 10:11:41 +0000 (UTC)
Author: jhs
Date: Tue Nov 25 10:11:41 2008
New Revision: 1810
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1810&view=rev
Log:
2008-11-25 Johannes Schmid <jschmid openismus com>
* libgda/src/holder.ccg:
* libgda/src/holder.hg:
Write custom constructor for Gda::Holder because the autgenerated did not work
Modified:
libgdamm/trunk/ChangeLog
libgdamm/trunk/libgda/src/holder.ccg
libgdamm/trunk/libgda/src/holder.hg
Modified: libgdamm/trunk/libgda/src/holder.ccg
==============================================================================
--- libgdamm/trunk/libgda/src/holder.ccg (original)
+++ libgdamm/trunk/libgda/src/holder.ccg Tue Nov 25 10:11:41 2008
@@ -29,6 +29,15 @@
namespace Gda
{
+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)))
+{
+
+}
+
} /* namespace Gda */
} /* namespace Gnome */
Modified: libgdamm/trunk/libgda/src/holder.hg
==============================================================================
--- libgdamm/trunk/libgda/src/holder.hg (original)
+++ libgdamm/trunk/libgda/src/holder.hg Tue Nov 25 10:11:41 2008
@@ -45,9 +45,9 @@
{
_CLASS_GOBJECT(Holder, GdaHolder, GDA_HOLDER, Glib::Object, GObject)
protected:
- _WRAP_CTOR(Holder (GType type), gda_holder_new)
+ Holder(GType g_type, const Glib::ustring& id);
public:
- _WRAP_CREATE(GType g_type)
+ _WRAP_CREATE(GType g_type, const Glib::ustring& id)
_WRAP_METHOD(Glib::RefPtr<Holder> copy(), gda_holder_copy)
_WRAP_METHOD(GType get_g_type() const, gda_holder_get_g_type)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]