gnomemm r2014 - in libgdamm/trunk: . libgda/src
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r2014 - in libgdamm/trunk: . libgda/src
- Date: Sat, 24 Jan 2009 20:19:55 +0000 (UTC)
Author: murrayc
Date: Sat Jan 24 20:19:55 2009
New Revision: 2014
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2014&view=rev
Log:
2009-01-24 Murray Cumming <murrayc murrayc com>
* libgda/src/holder.hg: copy(): Make this const.
get_bind(): Use refreturn and add a const overload.
Modified:
libgdamm/trunk/ChangeLog
libgdamm/trunk/libgda/src/holder.hg
Modified: libgdamm/trunk/libgda/src/holder.hg
==============================================================================
--- libgdamm/trunk/libgda/src/holder.hg (original)
+++ libgdamm/trunk/libgda/src/holder.hg Sat Jan 24 20:19:55 2009
@@ -50,7 +50,7 @@
Holder(GType g_type, const Glib::ustring& id);
public:
_WRAP_CREATE(GType g_type, const Glib::ustring& id)
- _WRAP_METHOD(Glib::RefPtr<Holder> copy(), gda_holder_copy)
+ _WRAP_METHOD(Glib::RefPtr<Holder> copy() const, gda_holder_copy)
_WRAP_METHOD(GType get_g_type() const, gda_holder_get_g_type)
_WRAP_METHOD(Glib::ustring get_id() const, gda_holder_get_id)
@@ -83,7 +83,8 @@
_WRAP_METHOD(bool set_source_model(const Glib::RefPtr<DataModel>& model, int col), gda_holder_set_source_model, errthrow)
_WRAP_METHOD(void set_bind(const Glib::RefPtr<Holder>& bind_to), gda_holder_set_bind, errthrow)
- _WRAP_METHOD(Glib::RefPtr<Holder> get_bind(), gda_holder_get_bind)
+ _WRAP_METHOD(Glib::RefPtr<Holder> get_bind(), gda_holder_get_bind, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<const Holder> get_bind() const, gda_holder_get_bind, refreturn, constversion)
_WRAP_PROPERTY("description", Glib::ustring)
_WRAP_PROPERTY("full-bind", Glib::RefPtr<Holder>)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]