[gtksourceview] Fix GtkSourceMark documentation
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Fix GtkSourceMark documentation
- Date: Fri, 24 May 2013 21:12:11 +0000 (UTC)
commit 37a3f9b7f456d101441fed2c80c981cafd8d330c
Author: Sébastien Wilmet <swilmet gnome org>
Date: Mon Apr 15 21:41:52 2013 +0200
Fix GtkSourceMark documentation
gtk_source_view_set_mark_category_pixbuf() and
gtk_source_view_set_mark_category_priority() don't exist. Replace them
by gtk_source_view_set_mark_attributes().
gtksourceview/gtksourcemark.c | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
---
diff --git a/gtksourceview/gtksourcemark.c b/gtksourceview/gtksourcemark.c
index b90ec34..f05cfbc 100644
--- a/gtksourceview/gtksourcemark.c
+++ b/gtksourceview/gtksourcemark.c
@@ -34,13 +34,12 @@
* the text has changed though its position may change.
*
* #GtkSourceMark<!-- -->s are organised in categories which you have to set
- * when you create the mark. Each category can have a pixbuf and a priority
- * associated using gtk_source_view_set_mark_category_pixbuf() and
- * gtk_source_view_set_mark_category_priority(). The pixbuf will be displayed in
- * the margin at the line where the mark residents if the
- * #GtkSourceView:show-line-marks property is set to %TRUE. If there are
- * multiple marks in the same line, the pixbufs will be drawn on top of each
- * other. The mark with the highest priority will be drawn on top.
+ * when you create the mark. Each category can have a priority, a pixbuf and
+ * other associated attributes. See gtk_source_view_set_mark_attributes().
+ * The pixbuf will be displayed in the margin at the line where the mark
+ * residents if the #GtkSourceView:show-line-marks property is set to %TRUE. If
+ * there are multiple marks in the same line, the pixbufs will be drawn on top
+ * of each other. The mark with the highest priority will be drawn on top.
*/
enum
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]