summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2010-12-22 09:24:45 +0100
committerMurray Cumming <murrayc@murrayc.com>2010-12-22 09:24:45 +0100
commit58738c58ca6f190f33ef6d0953c02746b5f59381 (patch)
tree01c9e45304714e6d74b362a43d4f8bf5e7a70423
parent75b9136f81562ee898de1e220f196a93921cdffd (diff)
downloadglibmm-58738c58ca6f190f33ef6d0953c02746b5f59381.tar.gz
Variant: Fix compiler warnings.2.27.5
* glib/src/variant.ccg: Remove some uses of the typename keyword to avoid warnings about using them outside of templates (they were in template specializations, which I guess is different).
-rw-r--r--ChangeLog8
-rw-r--r--NEWS13
-rw-r--r--configure.ac4
-rw-r--r--glib/src/variant.ccg4
4 files changed, 25 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index b5dc819c..7738ea38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-12-22 Murray Cumming <murrayc@murrayc.com>
+
+ Variant: Fix compiler warnings.
+
+ * glib/src/variant.ccg: Remove some uses of the typename keyword to avoid
+ warnings about using them outside of templates (they were in template
+ specializations, which I guess is different).
+
2010-12-22 José Alburquerque <jaalburqu@svn.gnome.org>
Variant< std::vector<std::string> >: Correct the getting of the array.
diff --git a/NEWS b/NEWS
index bbbae50f..7f90be20 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,16 @@
+2.27.5: (unstable):
+
+Glib:
+* Added Variant<std::string>, Glib::Variant< array >, and
+ Variant< vector > specializations
+
+Gio:
+* Added DBus client example: examples/dbus/well-known-address-client.cc
+ (José Alburquerque)
+* Fox the build with mingw32.
+ (José Alburquerque) Bug #636754 (t.sailer)
+
+
2.27.4.1: (unstable):
Gio:
diff --git a/configure.ac b/configure.ac
index 0cdb57c7..8e3f966a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,7 +15,7 @@
## You should have received a copy of the GNU Lesser General Public License
## along with this library. If not, see <http://www.gnu.org/licenses/>.
-AC_INIT([glibmm], [2.27.4.1],
+AC_INIT([glibmm], [2.27.5],
[http://bugzilla.gnome.org/enter_bug.cgi?product=glibmm],
[glibmm], [http://www.gtkmm.org/])
AC_PREREQ([2.59])
@@ -57,7 +57,7 @@ AS_IF([test "x$enable_static" = xyes],
AC_DEFINE([GIOMM_STATIC_LIB], [1], [Define if giomm is built as a static library])
])
-glibreq='2.0 >= 2.27.4'
+glibreq='2.0 >= 2.27.5'
GLIBMM_MODULES="sigc++-2.0 >= 2.0 glib-$glibreq gobject-$glibreq gmodule-$glibreq"
GIOMM_MODULES="$GLIBMM_MODULES gio-$glibreq"
test "x$glibmm_host_windows" = xyes || GIOMM_MODULES="$GIOMM_MODULES gio-unix-$glibreq"
diff --git a/glib/src/variant.ccg b/glib/src/variant.ccg
index 7a3d2ac6..e9f061c5 100644
--- a/glib/src/variant.ccg
+++ b/glib/src/variant.ccg
@@ -176,7 +176,7 @@ Variant<type_vec_ustring>::create(const type_vec_ustring& data)
GVariantBuilder* builder = g_variant_builder_new(array_variant_type.gobj());
// Add the elements of the vector into the builder.
- for(typename type_vec_ustring::const_iterator iter = data.begin();
+ for(type_vec_ustring::const_iterator iter = data.begin();
iter < data.end(); iter++)
{
g_variant_builder_add(builder,
@@ -259,7 +259,7 @@ Variant<type_vec_string>::create(const type_vec_string& data)
GVariantBuilder* builder = g_variant_builder_new(array_variant_type.gobj());
// Add the elements of the vector into the builder.
- for(typename type_vec_string::const_iterator iter = data.begin();
+ for(type_vec_string::const_iterator iter = data.begin();
iter < data.end(); iter++)
{
g_variant_builder_add(builder,