gnomemm r2007 - in libgdamm/trunk: . libgda/src
- From: jhs svn gnome org
- To: svn-commits-list gnome org
- Subject: gnomemm r2007 - in libgdamm/trunk: . libgda/src
- Date: Thu, 22 Jan 2009 09:08:45 +0000 (UTC)
Author: jhs
Date: Thu Jan 22 09:08:45 2009
New Revision: 2007
URL: http://svn.gnome.org/viewvc/gnomemm?rev=2007&view=rev
Log:
2009-01-22 Johannes Schmid <jschmid openismus com>
* libgda/src/set.hg(get_holder):
* libgda/src/statement.ccg (get_parameters()):
Fixed more reference problems
Modified:
libgdamm/trunk/ChangeLog
libgdamm/trunk/libgda/src/set.hg
libgdamm/trunk/libgda/src/statement.ccg
Modified: libgdamm/trunk/libgda/src/set.hg
==============================================================================
--- libgdamm/trunk/libgda/src/set.hg (original)
+++ libgdamm/trunk/libgda/src/set.hg Thu Jan 22 09:08:45 2009
@@ -64,8 +64,8 @@
_WRAP_METHOD_DOCS_ONLY(gda_set_set_holder_value)
template<class T> bool set_holder_value(const Glib::ustring& holder_id, T value);
- _WRAP_METHOD(Glib::RefPtr<Holder> get_holder(const Glib::ustring& holder_id), gda_set_get_holder)
- _WRAP_METHOD(Glib::RefPtr<const Holder> get_holder(const Glib::ustring& holder_id) const, gda_set_get_holder)
+ _WRAP_METHOD(Glib::RefPtr<Holder> get_holder(const Glib::ustring& holder_id), gda_set_get_holder, refreturn)
+ _WRAP_METHOD(Glib::RefPtr<const Holder> get_holder(const Glib::ustring& holder_id) const, gda_set_get_holder, refreturn)
_WRAP_METHOD(void add_holder(const Glib::RefPtr<Holder>& holder), gda_set_add_holder)
_WRAP_METHOD(void remove_holder(const Glib::RefPtr<Holder>& holder), gda_set_remove_holder)
Modified: libgdamm/trunk/libgda/src/statement.ccg
==============================================================================
--- libgdamm/trunk/libgda/src/statement.ccg (original)
+++ libgdamm/trunk/libgda/src/statement.ccg Thu Jan 22 09:08:45 2009
@@ -49,7 +49,8 @@
#endif //GLIBMM_EXCEPTIONS_ENABLED
if (set)
{
- params = Glib::wrap(set, true);
+ params = Glib::wrap(set);
+ params->reference();
}
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]