diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | glib/glibmm/objectbase.h | 4 |
2 files changed, 8 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2006-06-09 Cedric Gustin <cedric.gustin@gmail.com> + + * 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 <murrayc@murrayc.com> * 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 <class PropertyType> +template <class PropertyType> inline void ObjectBase::set_property(const Glib::ustring& property_name, const PropertyType& value) { Glib::Value<PropertyType> 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 <class PropertyType> +template <class PropertyType> inline void ObjectBase::get_property(const Glib::ustring& property_name, PropertyType& value) const { Glib::Value<PropertyType> property_value; |