[gtk+] docs: add docs GtkTextBufferTargetInfo



commit 885d8df39cc6d5a9dd3c630adc3e2e4d28a15918
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Jan 20 20:46:02 2014 -0500

    docs: add docs GtkTextBufferTargetInfo

 gtk/gtktextbuffer.h |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index c045716..e3f083a 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -43,11 +43,18 @@ G_BEGIN_DECLS
  * GtkTextBTree is the PRIVATE internal representation of it.
  */
 
-/* these values are used as "info" for the targets contained in the
- * lists returned by gtk_text_buffer_get_copy,paste_target_list()
+/**
+ * GtkTextBufferTargetInfo:
+ * @GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS: Buffer contents
+ * @GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT: Rich text
+ * @GTK_TEXT_BUFFER_TARGET_INFO_TEXT: Text
  *
- * the enum counts down from G_MAXUINT to avoid clashes with application
- * added drag destinations which usually start at 0.
+ * These values are used as "info" for the targets contained in the
+ * lists returned by gtk_text_buffer_get_copy_target_list() and
+ * gtk_text_buffer_get_paste_target_list().
+ *
+ * The values counts down from <literal>-1</literal> to avoid clashes
+ * with application added drag destinations which usually start at 0.
  */
 typedef enum
 {


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