summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2009-06-22 21:23:54 -0400
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2009-06-22 21:23:54 -0400
commit0356821ab90377418c9d827a1df475201a03838f (patch)
treea31dcefc16e03deffcbd61ce8927517169d146fd
parente248cff5d72cceeffa0fd16bddf038b965f215f5 (diff)
downloadglibmm-0356821ab90377418c9d827a1df475201a03838f.tar.gz
Typo corrections in Glib::ValueArray sources.
-rw-r--r--.gitignore1
-rw-r--r--ChangeLog6
-rw-r--r--glib/src/valuearray.ccg3
-rw-r--r--glib/src/valuearray.hg2
4 files changed, 10 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index e28c83e5..0f0eb2a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -229,6 +229,7 @@ tests/glibmm_date/test
tests/glibmm_nodetree/test
tests/glibmm_ustring_compose/test
tests/glibmm_value/test
+tests/glibmm_valuearray/test
# tools/
tools/extra_defs_gen/generate_defs_gio
diff --git a/ChangeLog b/ChangeLog
index be405b38..ac12e0d5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2009-06-22 José Alburquerque <jaalburqu@svn.gnome.org>
+ * glib/src/valuearray.ccg:
+ * glib/src/valuearray.hg: Use guint for pre-allocation constructor.
+ * .gitignore: Add value array test executable.
+
+2009-06-22 José Alburquerque <jaalburqu@svn.gnome.org>
+
* configure.ac:
* glib/glibmm.h:
* glib/src/Makefile_list_of_hg.am_fragment:
diff --git a/glib/src/valuearray.ccg b/glib/src/valuearray.ccg
index b8d0a49c..7c7fddd4 100644
--- a/glib/src/valuearray.ccg
+++ b/glib/src/valuearray.ccg
@@ -18,6 +18,7 @@
*/
#include <glibmm/exceptionhandler.h>
+
static int ValueArray_Compare_glibmm_callback(gconstpointer a,
gconstpointer b, gpointer user_data)
{
@@ -47,7 +48,7 @@ namespace Glib
ValueArray::ValueArray() : gobject_(g_value_array_new(0))
{}
-ValueArray::ValueArray(int n_preallocated) :
+ValueArray::ValueArray(guint n_preallocated) :
gobject_(g_value_array_new(n_preallocated))
{}
diff --git a/glib/src/valuearray.hg b/glib/src/valuearray.hg
index d540b61d..4fe1b2f1 100644
--- a/glib/src/valuearray.hg
+++ b/glib/src/valuearray.hg
@@ -53,7 +53,7 @@ public:
/** Constructs a new array with pre-allocation.
*/
- ValueArray(int n_preallocated);
+ ValueArray(guint n_preallocated);
/** Return the value at @a index contained in the value array.
* @param index Index of the value of interest.