From a25b66a0e0b4dd78cc5f59f809fe2db79b18ff87 Mon Sep 17 00:00:00 2001 From: Cedric Gustin Date: Fri, 9 Jun 2006 06:50:23 +0000 Subject: Inline the set_property and get_property methods. This is required by 2006-06-09 Cedric Gustin * glib/glibmm/objectbase.h : Inline the set_property and get_property methods. This is required by mingw32-gcc as ObjectBase is explicitly dllexported. --- ChangeLog | 6 ++++++ glib/glibmm/objectbase.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 68c8a45e..3a83d510 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-09 Cedric Gustin + + * glib/glibmm/objectbase.h : Inline the set_property and + get_property methods. This is required by mingw32-gcc as + ObjectBase is explicitly dllexported. + 2006-06-05 Murray Cumming * glib/src/convert.ccg: When using --enable-api-exception=no, only try to get the Glib::Error diff --git a/glib/glibmm/objectbase.h b/glib/glibmm/objectbase.h index 75c2788b..feea1ace 100644 --- a/glib/glibmm/objectbase.h +++ b/glib/glibmm/objectbase.h @@ -165,7 +165,7 @@ private: #ifndef DOXYGEN_SHOULD_SKIP_THIS -template +template inline void ObjectBase::set_property(const Glib::ustring& property_name, const PropertyType& value) { Glib::Value property_value; @@ -175,7 +175,7 @@ void ObjectBase::set_property(const Glib::ustring& property_name, const Property this->set_property_value(property_name, property_value); } -template +template inline void ObjectBase::get_property(const Glib::ustring& property_name, PropertyType& value) const { Glib::Value property_value; -- cgit v1.2.1