[gtk: 1/2] gtk/gtktextbuffer: remove GtkTextBufferTargetInfo




commit 160e29ea9575fa7ae25a668dce87f72db08c60b5
Author: David Lechner <david lechnology com>
Date:   Sat Nov 7 22:29:11 2020 +0000

    gtk/gtktextbuffer: remove GtkTextBufferTargetInfo
    
    GtkTextBufferTargetInfo is not used anywhere and can be removed.

 gtk/gtktextbuffer.h | 20 --------------------
 1 file changed, 20 deletions(-)
---
diff --git a/gtk/gtktextbuffer.h b/gtk/gtktextbuffer.h
index c084ff838b..2223bb9516 100644
--- a/gtk/gtktextbuffer.h
+++ b/gtk/gtktextbuffer.h
@@ -42,26 +42,6 @@ G_BEGIN_DECLS
  * GtkTextBTree is the PRIVATE internal representation of it.
  */
 
-/**
- * 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
- *
- * 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 `-1` to avoid clashes
- * with application added drag destinations which usually start at 0.
- */
-typedef enum
-{
-  GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1,
-  GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT       = - 2,
-  GTK_TEXT_BUFFER_TARGET_INFO_TEXT            = - 3
-} GtkTextBufferTargetInfo;
-
 typedef struct _GtkTextBTree GtkTextBTree;
 
 #define GTK_TYPE_TEXT_BUFFER            (gtk_text_buffer_get_type ())


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