gtksourceviewmm r64 - in trunk: . gtksourceview/src
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtksourceviewmm r64 - in trunk: . gtksourceview/src
- Date: Wed, 6 Feb 2008 15:33:17 +0000 (GMT)
Author: murrayc
Date: Wed Feb 6 15:33:17 2008
New Revision: 64
URL: http://svn.gnome.org/viewvc/gtksourceviewmm?rev=64&view=rev
Log:
2008-02-06 Murray Cumming <murrayc murrayc com>
* gtksourceview/src/gtksourceview_methods.defs:
* gtksourceview/src/sourcebuffer.hg: Added remove_source_marks(),
using the latest gtksourceview API with my const correction.
Modified:
trunk/ChangeLog
trunk/gtksourceview/src/gtksourceview_methods.defs
trunk/gtksourceview/src/sourcebuffer.hg
Modified: trunk/gtksourceview/src/gtksourceview_methods.defs
==============================================================================
--- trunk/gtksourceview/src/gtksourceview_methods.defs (original)
+++ trunk/gtksourceview/src/gtksourceview_methods.defs Wed Feb 6 15:33:17 2008
@@ -329,8 +329,8 @@
(c-name "gtk_source_buffer_remove_source_marks")
(return-type "none")
(parameters
- '("GtkTextIter*" "start")
- '("GtkTextIter*" "end")
+ '("const-GtkTextIter*" "start")
+ '("const-GtkTextIter*" "end")
'("const-gchar*" "category")
)
)
Modified: trunk/gtksourceview/src/sourcebuffer.hg
==============================================================================
--- trunk/gtksourceview/src/sourcebuffer.hg (original)
+++ trunk/gtksourceview/src/sourcebuffer.hg Wed Feb 6 15:33:17 2008
@@ -223,8 +223,7 @@
// overloaded with category == NULL
Glib::SListHandle<Glib::RefPtr<SourceMark> > get_source_marks_at_iter(Gtk::TextIter& iter) const;
- //TODO Fix the constness in the C API. See bug #
- //_WRAP_METHOD(void remove_source_marks(const Gtk::TextIter& start, const Gtk::TextIter& end, const Glib::ustring& category), gtk_source_buffer_remove_source_marks)
+ _WRAP_METHOD(void remove_source_marks(const Gtk::TextIter& start, const Gtk::TextIter& end, const Glib::ustring& category), gtk_source_buffer_remove_source_marks)
/// \name signals
/// @{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]