summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--ChangeLog.pre-2-107
-rw-r--r--ChangeLog.pre-2-127
-rw-r--r--ChangeLog.pre-2-27
-rw-r--r--ChangeLog.pre-2-47
-rw-r--r--ChangeLog.pre-2-67
-rw-r--r--ChangeLog.pre-2-87
-rw-r--r--glib/garray.h2
8 files changed, 50 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8123f3e52..59c7c4462 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/garray.h: Add parenthesis to protect macro
+ argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
+ HEAD. (#86826)
+
+
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 8123f3e52..59c7c4462 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,10 @@
+2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/garray.h: Add parenthesis to protect macro
+ argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
+ HEAD. (#86826)
+
+
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 8123f3e52..59c7c4462 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,10 @@
+2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/garray.h: Add parenthesis to protect macro
+ argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
+ HEAD. (#86826)
+
+
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 8123f3e52..59c7c4462 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,10 @@
+2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/garray.h: Add parenthesis to protect macro
+ argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
+ HEAD. (#86826)
+
+
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 8123f3e52..59c7c4462 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,10 @@
+2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/garray.h: Add parenthesis to protect macro
+ argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
+ HEAD. (#86826)
+
+
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 8123f3e52..59c7c4462 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,10 @@
+2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/garray.h: Add parenthesis to protect macro
+ argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
+ HEAD. (#86826)
+
+
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 8123f3e52..59c7c4462 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,10 @@
+2002-07-01 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/garray.h: Add parenthesis to protect macro
+ argument. Spotted by Sam Couter <sam@topic.com.au>. Merged from
+ HEAD. (#86826)
+
+
2002-06-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* glib/gmessages.h (g_assert, g_assert_not_reached,
diff --git a/glib/garray.h b/glib/garray.h
index 56b3937fe..80421830e 100644
--- a/glib/garray.h
+++ b/glib/garray.h
@@ -99,7 +99,7 @@ void g_array_sort_with_data (GArray *array,
* cleared spot and shortens the array. remove_fast will again distort
* order.
*/
-#define g_ptr_array_index(array,index) (array->pdata)[index]
+#define g_ptr_array_index(array,index) ((array)->pdata)[index]
GPtrArray* g_ptr_array_new (void);
GPtrArray* g_ptr_array_sized_new (guint reserved_size);
gpointer* g_ptr_array_free (GPtrArray *array,