summaryrefslogtreecommitdiff
path: root/glib/glibmm/property.cc
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2006-04-12 08:12:12 +0000
committerMurray Cumming <murrayc@src.gnome.org>2006-04-12 08:12:12 +0000
commitc73ae57ef977a3827c1de99e1d59f9a90eef5672 (patch)
tree0157be76275930bc72d44ac8a6511573e83d5251 /glib/glibmm/property.cc
parent01f2a0d33758ada62ec5a29fa382880963837e11 (diff)
downloadglibmm-c73ae57ef977a3827c1de99e1d59f9a90eef5672.tar.gz
Mark private functions as static, to stop them being exported in the API,
2006-04-12 Murray Cumming <murrayc@murrayc.com> * glib/glibmm/main.cc: * glib/glibmm/objectbase.cc: * glib/glibmm/property.cc: * glib/glibmm/ustring.cc: * glib/glibmm/value_custom.cc: * glib/src/spawn.ccg: Mark private functions as static, to stop them being exported in the API, to reduce the library code size slightly. * tools/m4/signal.m4: Make generated callback functions static, for the same reasons.
Diffstat (limited to 'glib/glibmm/property.cc')
-rw-r--r--glib/glibmm/property.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/glibmm/property.cc b/glib/glibmm/property.cc
index e801e0c1..73d22ffd 100644
--- a/glib/glibmm/property.cc
+++ b/glib/glibmm/property.cc
@@ -75,7 +75,7 @@ namespace
//
// We can reimplement this later if necessary.
-unsigned int property_to_id(Glib::ObjectBase& object, Glib::PropertyBase& property)
+static unsigned int property_to_id(Glib::ObjectBase& object, Glib::PropertyBase& property)
{
void *const base_ptr = dynamic_cast<void*>(&object);
void *const prop_ptr = &property;