gtk/gtktextbuffer: remove GtkTextBufferTargetInfo

GtkTextBufferTargetInfo is not used anywhere and can be removed.
This commit is contained in:
David Lechner 2020-11-07 22:29:11 +00:00
parent b9adad304e
commit 160e29ea95

View File

@ -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 ())