From 77f9efa747891cf2f15001a593ff1d68ec8d294a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 17 Nov 2020 19:02:26 +0100 Subject: [PATCH] textbuffer: Remove unused properties The getters and setters were removed in f53848c3606a9c46bcb3a0e568f36e573bdf84da but the pspecs were forgotten. --- gtk/gtktextbuffer.c | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/gtk/gtktextbuffer.c b/gtk/gtktextbuffer.c index c7dd9d8c46..3302d07261 100644 --- a/gtk/gtktextbuffer.c +++ b/gtk/gtktextbuffer.c @@ -114,8 +114,6 @@ enum { PROP_TEXT, PROP_HAS_SELECTION, PROP_CURSOR_POSITION, - PROP_COPY_TARGET_LIST, - PROP_PASTE_TARGET_LIST, PROP_CAN_UNDO, PROP_CAN_REDO, PROP_ENABLE_UNDO, @@ -538,32 +536,6 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) 0, GTK_PARAM_READABLE); - /** - * GtkTextBuffer:copy-target-list: - * - * The list of targets this buffer supports for clipboard copying - * and as DND source. - */ - text_buffer_props[PROP_COPY_TARGET_LIST] = - g_param_spec_boxed ("copy-target-list", - P_("Copy target list"), - P_("The list of targets this buffer supports for clipboard copying and DND source"), - GDK_TYPE_CONTENT_FORMATS, - GTK_PARAM_READABLE); - - /** - * GtkTextBuffer:paste-target-list: - * - * The list of targets this buffer supports for clipboard pasting - * and as DND destination. - */ - text_buffer_props[PROP_PASTE_TARGET_LIST] = - g_param_spec_boxed ("paste-target-list", - P_("Paste target list"), - P_("The list of targets this buffer supports for clipboard pasting and DND destination"), - GDK_TYPE_CONTENT_FORMATS, - GTK_PARAM_READABLE); - g_object_class_install_properties (object_class, LAST_PROP, text_buffer_props); /**