[gtksourceview] Add some missing docs
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Add some missing docs
- Date: Sun, 23 Mar 2014 11:32:20 +0000 (UTC)
commit b44633797ee8f0d72e6e782a4eb6b5f23d79735e
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Mar 23 12:31:45 2014 +0100
Add some missing docs
gtksourceview/gtksourcegutterrendererpixbuf.c | 11 ++++++++++-
gtksourceview/gtksourcegutterrenderertext.c | 10 ++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutterrendererpixbuf.c b/gtksourceview/gtksourcegutterrendererpixbuf.c
index e38e652..57a9620 100644
--- a/gtksourceview/gtksourcegutterrendererpixbuf.c
+++ b/gtksourceview/gtksourcegutterrendererpixbuf.c
@@ -19,11 +19,20 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-
#include "gtksourcegutterrendererpixbuf.h"
#include "gtksourceview-i18n.h"
#include "gtksourcepixbufhelper.h"
+/**
+ * SECTION:gutterrendererpixbuf
+ * @Short_description: Renders a pixbuf in the gutter
+ * @Title: GtkSourceGutterRendererPixbuf
+ * @See_also: #GtkSourceGutterRenderer, #GtkSourceGutter
+ *
+ * A #GtkSourceGutterRendererPixbuf can be used to render an image in a cell of
+ * #GtkSourceGutter.
+ */
+
struct _GtkSourceGutterRendererPixbufPrivate
{
GtkSourcePixbufHelper *helper;
diff --git a/gtksourceview/gtksourcegutterrenderertext.c b/gtksourceview/gtksourcegutterrenderertext.c
index 8ea08bd..43b889c 100644
--- a/gtksourceview/gtksourcegutterrenderertext.c
+++ b/gtksourceview/gtksourcegutterrenderertext.c
@@ -22,6 +22,16 @@
#include "gtksourcegutterrenderertext.h"
#include "gtksourceview-i18n.h"
+/**
+ * SECTION:gutterrenderertext
+ * @Short_description: Renders text in the gutter
+ * @Title: GtkSourceGutterRendererText
+ * @See_also: #GtkSourceGutterRenderer, #GtkSourceGutter
+ *
+ * A #GtkSourceGutterRendererText can be used to render text in a cell of
+ * #GtkSourceGutter.
+ */
+
struct _GtkSourceGutterRendererTextPrivate
{
gchar *text;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]