From 9dd1ed8026033eb0b4806459dc372b23909c1e4f Mon Sep 17 00:00:00 2001 From: Murray Cumming Date: Thu, 31 Mar 2011 10:53:32 +0200 Subject: DBusProxy: Rename type_map_changed_properties to MapChangeProperties. * gio/src/dbusproxy.[hg|ccg]: Use our normal convention for container typedefs. --- ChangeLog | 7 +++++++ gio/src/dbusproxy.ccg | 2 +- gio/src/dbusproxy.hg | 8 ++++---- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index dd838eae..771c7329 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-03-31 Murray Cumming + + DBusProxy: Rename type_map_changed_properties to MapChangeProperties. + + * gio/src/dbusproxy.[hg|ccg]: Use our normal convention for container + typedefs. + 2011-03-30 Murray Cumming Use the latest mm-common. diff --git a/gio/src/dbusproxy.ccg b/gio/src/dbusproxy.ccg index e18d1a43..3d3cb453 100644 --- a/gio/src/dbusproxy.ccg +++ b/gio/src/dbusproxy.ccg @@ -30,7 +30,7 @@ namespace DBus { //Help the generate code: -typedef Proxy::type_map_changed_properties type_map_changed_properties; +typedef Proxy::MapChangedProperties MapChangedProperties; Proxy::Proxy(const Glib::RefPtr& connection, const Glib::ustring& name, diff --git a/gio/src/dbusproxy.hg b/gio/src/dbusproxy.hg index 30125b5f..1b11e0cb 100644 --- a/gio/src/dbusproxy.hg +++ b/gio/src/dbusproxy.hg @@ -330,14 +330,14 @@ public: _WRAP_PROPERTY("g-name-owner", Glib::ustring) _WRAP_PROPERTY("g-object-path", Glib::ustring) - typedef std::map type_map_changed_properties; + typedef std::map MapChangedProperties; // The DBus API ensures that the variant changed_properties is of type "DICT" - #m4 _CONVERSION(`GVariant*', `const type_map_changed_properties&', `Glib::Variant($3, true).get()') - #m4 _CONVERSION(`const type_map_changed_properties&', `GVariant*', `const_cast(Glib::Variant::create($3).gobj())') + #m4 _CONVERSION(`GVariant*', `const MapChangedProperties&', `Glib::Variant($3, true).get()') + #m4 _CONVERSION(`const MapChangedProperties&', `GVariant*', `const_cast(Glib::Variant::create($3).gobj())') #m4 _CONVERSION(`const std::vector&', `const gchar*const*',`Glib::ArrayHandler::vector_to_array($3).data()') #m4 _CONVERSION(`const gchar*const*', `const std::vector&', `Glib::ArrayHandler::array_to_vector($3, Glib::OWNERSHIP_NONE)') - _WRAP_SIGNAL(void properties_changed(const type_map_changed_properties& changed_properties, const std::vector& invalidated_properties), "g-properties-changed") + _WRAP_SIGNAL(void properties_changed(const MapChangedProperties& changed_properties, const std::vector& invalidated_properties), "g-properties-changed") #m4 _CONVERSION(`GVariant*', `const Glib::VariantContainerBase&', `Glib::VariantContainerBase($3, true)') #m4 _CONVERSION(`const Glib::VariantContainerBase&', `GVariant*', `const_cast(($3).gobj())') -- cgit v1.2.1