From 0356821ab90377418c9d827a1df475201a03838f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Alburquerque?= Date: Mon, 22 Jun 2009 21:23:54 -0400 Subject: Typo corrections in Glib::ValueArray sources. --- .gitignore | 1 + ChangeLog | 6 ++++++ glib/src/valuearray.ccg | 3 ++- glib/src/valuearray.hg | 2 +- 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,3 +1,9 @@ +2009-06-22 José Alburquerque + + * 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 * configure.ac: 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 + 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. -- cgit v1.2.1