[gtksourceviewmm/devel: 3/26] Fix conversions.



commit 3494b70a725f75602003301b2063968dee3cd6de
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Fri Dec 11 21:49:31 2009 +0100

    Fix conversions.
    
    * gtksourceview/src/sourcelanguagemanager.hg:
    * gtksourceview/src/sourcestylescheme.hg:
    * gtksourceview/src/sourcestyleschememanager.hg: Fixed array
    conversions - C output parameters are now const.

 gtksourceview/src/sourcelanguagemanager.hg    |    2 +-
 gtksourceview/src/sourcestylescheme.hg        |    2 +-
 gtksourceview/src/sourcestyleschememanager.hg |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/src/sourcelanguagemanager.hg b/gtksourceview/src/sourcelanguagemanager.hg
index 985d04f..2e9b751 100644
--- a/gtksourceview/src/sourcelanguagemanager.hg
+++ b/gtksourceview/src/sourcelanguagemanager.hg
@@ -49,7 +49,7 @@ public:
 
   _WRAP_METHOD(static Glib::RefPtr<SourceLanguageManager> get_default(), gtk_source_language_manager_get_default, refreturn)
 
-#m4 _CONVERSION(`gchar**',`Glib::StringArrayHandle',`$2($3)')
+#m4 _CONVERSION(`const gchar**',`Glib::StringArrayHandle',`$2($3)')
   _WRAP_METHOD(Glib::StringArrayHandle get_search_path() const, gtk_source_language_manager_get_search_path)
   _WRAP_METHOD(void set_search_path(const Glib::StringArrayHandle& dirs), gtk_source_language_manager_set_search_path)
 
diff --git a/gtksourceview/src/sourcestylescheme.hg b/gtksourceview/src/sourcestylescheme.hg
index 274a5a9..771cd89 100644
--- a/gtksourceview/src/sourcestylescheme.hg
+++ b/gtksourceview/src/sourcestylescheme.hg
@@ -44,7 +44,7 @@ public:
   _WRAP_METHOD(Glib::ustring get_name() const, gtk_source_style_scheme_get_name)
   _WRAP_METHOD(Glib::ustring get_description() const, gtk_source_style_scheme_get_description)
 
-#m4 _CONVERSION(`gchar**',`Glib::StringArrayHandle',`$2($3)')
+#m4 _CONVERSION(`const gchar**',`Glib::StringArrayHandle',`$2($3)')
   _WRAP_METHOD(Glib::StringArrayHandle get_authors() const, gtk_source_style_scheme_get_authors)
 
   _WRAP_METHOD(std::string get_filename() const, gtk_source_style_scheme_get_filename)
diff --git a/gtksourceview/src/sourcestyleschememanager.hg b/gtksourceview/src/sourcestyleschememanager.hg
index 9c64be7..ffc6d58 100644
--- a/gtksourceview/src/sourcestyleschememanager.hg
+++ b/gtksourceview/src/sourcestyleschememanager.hg
@@ -47,7 +47,7 @@ public:
    */
   void reset_search_path();
 
-#m4 _CONVERSION(`gchar**',`Glib::StringArrayHandle',`$2($3)')
+#m4 _CONVERSION(`const gchar**',`Glib::StringArrayHandle',`$2($3)')
   _WRAP_METHOD(Glib::StringArrayHandle get_search_path() const, gtk_source_style_scheme_manager_get_search_path)
 
 



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