[vte/vte-next] Fix constness



commit d93b00b5cc9962b83bab1a5f905779410f52e526
Author: Christian Persch <chpe gnome org>
Date:   Thu Jun 23 18:04:20 2011 +0200

    Fix constness

 src/vte.c       |    4 ++--
 src/vtebuffer.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 6932096..43bd09e 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -14455,8 +14455,8 @@ vte_buffer_iter_free (VteBufferIter *iter)
  * Returns: %TRUE iff @iter is a valid iter on @buffer
  */
 gboolean
-vte_buffer_iter_is_valid (VteBufferIter *iter,
-                          const VteBuffer *buffer)
+vte_buffer_iter_is_valid (const VteBufferIter *iter,
+                          VteBuffer *buffer)
 {
         VteBufferIterReal *real_iter = (VteBufferIterReal *) iter;
 
diff --git a/src/vtebuffer.h b/src/vtebuffer.h
index b78a4c7..430dd6d 100644
--- a/src/vtebuffer.h
+++ b/src/vtebuffer.h
@@ -227,8 +227,8 @@ VteBufferIter *vte_buffer_iter_copy     (VteBufferIter *iter);
 
 void           vte_buffer_iter_free     (VteBufferIter *iter);
 
-gboolean       vte_buffer_iter_is_valid (VteBufferIter *iter,
-                                         const VteBuffer *buffer);
+gboolean       vte_buffer_iter_is_valid (const VteBufferIter *iter,
+                                         VteBuffer *buffer);
 
 G_END_DECLS
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]