diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2009-06-22 21:23:54 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2009-06-22 21:23:54 -0400 |
commit | 0356821ab90377418c9d827a1df475201a03838f (patch) | |
tree | a31dcefc16e03deffcbd61ce8927517169d146fd | |
parent | e248cff5d72cceeffa0fd16bddf038b965f215f5 (diff) | |
download | glibmm-0356821ab90377418c9d827a1df475201a03838f.tar.gz |
Typo corrections in Glib::ValueArray sources.
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | glib/src/valuearray.ccg | 3 | ||||
-rw-r--r-- | glib/src/valuearray.hg | 2 |
4 files changed, 10 insertions, 2 deletions
@@ -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 @@ -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. |