[gtk/wip/otte/for-master: 2/6] textbuffer: Remove unused properties




commit 77f9efa747891cf2f15001a593ff1d68ec8d294a
Author: Benjamin Otte <otte redhat com>
Date:   Tue Nov 17 19:02:26 2020 +0100

    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);
 
   /**


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