Merge branch 'patch-3' into 'master'

gtk/gtktextbuffer: remove GtkTextBufferTargetInfo

See merge request GNOME/gtk!2797
This commit is contained in:
Matthias Clasen 2020-11-08 01:11:26 +00:00
commit 30c5a6f79c

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