summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric Gustin <cedric.gustin@gmail.com>2006-06-09 06:50:23 +0000
committerCedric Gustin <gustin@src.gnome.org>2006-06-09 06:50:23 +0000
commita25b66a0e0b4dd78cc5f59f809fe2db79b18ff87 (patch)
tree49cc22550e607f0c282845efa7a196c0fbcf81c4
parentcb07728aed463aff15be0dcbdd52951c5cd154ac (diff)
downloadglibmm-a25b66a0e0b4dd78cc5f59f809fe2db79b18ff87.tar.gz
Inline the set_property and get_property methods. This is required by
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.
-rw-r--r--ChangeLog6
-rw-r--r--glib/glibmm/objectbase.h4
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 <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;