[glibmm] Typo corrections in Glib::ValueArray sources.
- From: José Alburquerque <jaalburqu src gnome org>
- To: svn-commits-list gnome org
- Subject: [glibmm] Typo corrections in Glib::ValueArray sources.
- Date: Mon, 22 Jun 2009 21:27:55 -0400 (EDT)
commit 0356821ab90377418c9d827a1df475201a03838f
Author: José Alburquerque <jaalburqu svn gnome org>
Date: Mon Jun 22 21:23:54 2009 -0400
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 e28c83e..0f0eb2a 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 be405b3..ac12e0d 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 b8d0a49..7c7fddd 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 d540b61..4fe1b2f 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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]