[gtkmm] Gdk, Gtk: Regenerate docs.xml and .defs files



commit f839f1d42d5302c00e237999e6ce8540cbea3d52
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date:   Fri Nov 24 19:28:30 2017 +0100

    Gdk, Gtk: Regenerate docs.xml and .defs files
    
    and update gdk_extra_objects.defs.

 gdk/src/gdk_docs.xml           |  379 +++++++++++++++++++++++--
 gdk/src/gdk_extra_objects.defs |    6 +
 gdk/src/gdk_methods.defs       |  153 ++++++++++-
 gtk/src/gtk_docs.xml           |  613 +++++++++++++++-------------------------
 gtk/src/gtk_enums.defs         |   21 --
 gtk/src/gtk_methods.defs       |  161 +++--------
 gtk/src/gtk_signals.defs       |    6 +
 7 files changed, 776 insertions(+), 563 deletions(-)
---
diff --git a/gdk/src/gdk_docs.xml b/gdk/src/gdk_docs.xml
index 7fd863e..3095756 100644
--- a/gdk/src/gdk_docs.xml
+++ b/gdk/src/gdk_docs.xml
@@ -1514,7 +1514,7 @@ Since: 3.8
 
 <property name="GdkGLContext:shared-context">
 <description>
-The #GdkGLContext that this context is sharing data with, or #NULL
+The #GdkGLContext that this context is sharing data with, or %NULL
 
 Since: 3.16
 
@@ -3703,6 +3703,330 @@ bound context
 <return></return>
 </function>
 
+<function name="gdk_content_formats_builder_add_formats">
+<description>
+Appends all formats from @formats to @builder, skipping those that
+already exist.
+
+</description>
+<parameters>
+<parameter name="builder">
+<parameter_description> a #GdkContentFormatsBuilder
+</parameter_description>
+</parameter>
+<parameter name="formats">
+<parameter_description> the formats to add
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gdk_content_formats_builder_add_gtype">
+<description>
+Appends @gtype to @builder if it has not already been added.
+
+</description>
+<parameters>
+<parameter name="builder">
+<parameter_description> a #GdkContentFormatsBuilder
+</parameter_description>
+</parameter>
+<parameter name="type">
+<parameter_description> a #GType
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gdk_content_formats_builder_add_mime_type">
+<description>
+Appends @mime_type to @builder if it has not already been added.
+
+</description>
+<parameters>
+<parameter name="builder">
+<parameter_description> a #GdkContentFormatsBuilder
+</parameter_description>
+</parameter>
+<parameter name="mime_type">
+<parameter_description> a mime type
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gdk_content_formats_builder_free">
+<description>
+Frees @builder and creates a new #GdkContentFormats from it.
+
+
+</description>
+<parameters>
+<parameter name="builder">
+<parameter_description> a #GdkContentFormatsBuilder
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GdkContentFormats with all the formats added to @builder
+</return>
+</function>
+
+<function name="gdk_content_formats_builder_new">
+<description>
+Create a new #GdkContentFormatsBuilder object. The resulting builder
+would create an empty #GdkContentFormats. Use addition functions to add
+types to it.
+
+
+</description>
+<parameters>
+</parameters>
+<return> a new #GdkContentFormatsBuilder
+</return>
+</function>
+
+<function name="gdk_content_formats_contain_gtype">
+<description>
+Checks if a given #GType is part of the given @formats.
+
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="type">
+<parameter_description> the #GType to search for
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the #GType was found
+</return>
+</function>
+
+<function name="gdk_content_formats_contain_mime_type">
+<description>
+Checks if a given mime type is part of the given @formats.
+
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="mime_type">
+<parameter_description> the mime type to search for
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if the mime_type was found
+</return>
+</function>
+
+<function name="gdk_content_formats_get_gtypes">
+<description>
+Gets the #GTypes included in @formats. Note that @formats may not
+contain any #GTypes, in particular when they are empty. In that
+case %NULL will be returned. 
+
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="n_gtypes">
+<parameter_description> optional pointer to take the
+number of #GTypes contained in the return value
+</parameter_description>
+</parameter>
+</parameters>
+<return> %G_TYPE_INVALID-terminated array of 
+types included in @formats or %NULL if none.
+</return>
+</function>
+
+<function name="gdk_content_formats_get_mime_types">
+<description>
+Gets the mime types included in @formats. Note that @formats may not
+contain any mime types, in particular when they are empty. In that
+case %NULL will be returned. 
+
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="n_mime_types">
+<parameter_description> optional pointer to take the
+number of mime types contained in the return value
+</parameter_description>
+</parameter>
+</parameters>
+<return> %NULL-terminated array of 
+interned strings of mime types included in @formats or %NULL
+if none.
+</return>
+</function>
+
+<function name="gdk_content_formats_match">
+<description>
+Finds the first element from @first that is also contained
+in @second. If no matching format is found, %FALSE is returned
+and @out_gtype and @out_mime_type are set to %G_TYPE_INVALID and
+%NULL respectively.
+
+
+</description>
+<parameters>
+<parameter name="first">
+<parameter_description> the primary #GdkContentFormats to intersect
+</parameter_description>
+</parameter>
+<parameter name="second">
+<parameter_description> the #GdkContentFormats to intersect with
+</parameter_description>
+</parameter>
+<parameter name="out_gtype">
+<parameter_description> pointer to take the 
+matching #GType or %G_TYPE_INVALID if @out_mime_type was set.
+</parameter_description>
+</parameter>
+<parameter name="out_mime_type">
+<parameter_description> The matching
+mime type or %NULL if @out_gtype is set
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if a matching format was found.
+</return>
+</function>
+
+<function name="gdk_content_formats_new">
+<description>
+Creates a new #GdkContentFormats from an array of mime types.
+
+The mime types must be different or the behavior of the return value
+is undefined. If you cannot guarantee this, use #GdkContentFormatsBuilder
+instead.
+
+
+</description>
+<parameters>
+<parameter name="mime_types">
+<parameter_description> Pointer to an
+array of mime types
+</parameter_description>
+</parameter>
+<parameter name="nmime_types">
+<parameter_description> number of entries in @mime_types.
+</parameter_description>
+</parameter>
+</parameters>
+<return> the new #GdkContentFormats.
+</return>
+</function>
+
+<function name="gdk_content_formats_print">
+<description>
+Prints the given @formats into a string for human consumption.
+This is meant for debugging and logging.
+
+The form of the representation may change at any time and is
+not guranteed to stay identical.
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="string">
+<parameter_description> a #GString to print into
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gdk_content_formats_ref">
+<description>
+Increases the reference count of a #GdkContentFormats by one.
+
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description>  a #GdkContentFormats
+</parameter_description>
+</parameter>
+</parameters>
+<return> the passed in #GdkContentFormats.
+</return>
+</function>
+
+<function name="gdk_content_formats_to_string">
+<description>
+Prints the given @formats into a human-readable string.
+This is a small wrapper around gdk_content_formats_print() to help
+when debugging.
+
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new string
+</return>
+</function>
+
+<function name="gdk_content_formats_union">
+<description>
+Append all missing types from @second to @first, in the order
+they had in @second.
+
+
+</description>
+<parameters>
+<parameter name="first">
+<parameter_description> the #GdkContentFormats to merge into
+</parameter_description>
+</parameter>
+<parameter name="second">
+<parameter_description> the #GdkContentFormats to merge from
+</parameter_description>
+</parameter>
+</parameters>
+<return> a new #GdkContentFormats
+</return>
+</function>
+
+<function name="gdk_content_formats_unref">
+<description>
+Decreases the reference count of a #GdkContentFormats by one.
+If the resulting reference count is zero, frees the formats.
+
+</description>
+<parameters>
+<parameter name="formats">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gdk_cursor_get_fallback">
 <description>
 Returns the fallback for this @cursor. The fallback will be used if this
@@ -4721,7 +5045,7 @@ Since: 3.0
 </parameter>
 </parameters>
 <return> the #GdkDisplay to which
-@device_manager is associated to, or #NULL. This memory is
+@device_manager is associated to, or %NULL. This memory is
 owned by GDK and must not be freed or unreferenced.
 
 </return>
@@ -5991,9 +6315,8 @@ This function is called by the drag source.
 <parameter_description> the source window for this drag.
 </parameter_description>
 </parameter>
-<parameter name="targets">
-<parameter_description> the offered targets,
-as list of #GdkAtoms
+<parameter name="formats">
+<parameter_description> the offered formats
 </parameter_description>
 </parameter>
 </parameters>
@@ -6018,9 +6341,8 @@ This function is called by the drag source.
 <parameter_description> the device that controls this drag
 </parameter_description>
 </parameter>
-<parameter name="targets">
-<parameter_description> the offered targets,
-as list of #GdkAtoms
+<parameter name="formats">
+<parameter_description> the offered formats
 </parameter_description>
 </parameter>
 </parameters>
@@ -6046,9 +6368,8 @@ Since: 3.20
 <parameter_description> the device that controls this drag
 </parameter_description>
 </parameter>
-<parameter name="targets">
-<parameter_description> the offered targets,
-as list of #GdkAtoms
+<parameter name="formats">
+<parameter_description> the offered formats
 </parameter_description>
 </parameter>
 <parameter name="x_root">
@@ -6141,11 +6462,11 @@ Since: 3.20
 </return>
 </function>
 
-<function name="gdk_drag_context_get_protocol">
+<function name="gdk_drag_context_get_formats">
 <description>
-Returns the drag protocol thats used by this context.
+Retrieves the formats supported by this context.
 
-Since: 3.0
+Since: 3.94
 
 </description>
 <parameters>
@@ -6154,16 +6475,16 @@ Since: 3.0
 </parameter_description>
 </parameter>
 </parameters>
-<return> the drag protocol
+<return> a #GdkContentFormats
 
 </return>
 </function>
 
-<function name="gdk_drag_context_get_selected_action">
+<function name="gdk_drag_context_get_protocol">
 <description>
-Determines the action chosen by the drag destination.
+Returns the drag protocol thats used by this context.
 
-Since: 2.22
+Since: 3.0
 
 </description>
 <parameters>
@@ -6172,14 +6493,14 @@ Since: 2.22
 </parameter_description>
 </parameter>
 </parameters>
-<return> a #GdkDragAction value
+<return> the drag protocol
 
 </return>
 </function>
 
-<function name="gdk_drag_context_get_source_window">
+<function name="gdk_drag_context_get_selected_action">
 <description>
-Returns the #GdkWindow where the DND operation started.
+Determines the action chosen by the drag destination.
 
 Since: 2.22
 
@@ -6190,14 +6511,14 @@ Since: 2.22
 </parameter_description>
 </parameter>
 </parameters>
-<return> a #GdkWindow
+<return> a #GdkDragAction value
 
 </return>
 </function>
 
-<function name="gdk_drag_context_get_suggested_action">
+<function name="gdk_drag_context_get_source_window">
 <description>
-Determines the suggested drag action of the context.
+Returns the #GdkWindow where the DND operation started.
 
 Since: 2.22
 
@@ -6208,14 +6529,14 @@ Since: 2.22
 </parameter_description>
 </parameter>
 </parameters>
-<return> a #GdkDragAction value
+<return> a #GdkWindow
 
 </return>
 </function>
 
-<function name="gdk_drag_context_list_targets">
+<function name="gdk_drag_context_get_suggested_action">
 <description>
-Retrieves the list of targets of the context.
+Determines the suggested drag action of the context.
 
 Since: 2.22
 
@@ -6226,7 +6547,7 @@ Since: 2.22
 </parameter_description>
 </parameter>
 </parameters>
-<return> a #GList of targets
+<return> a #GdkDragAction value
 
 </return>
 </function>
@@ -7983,7 +8304,7 @@ Since: 3.8
 </parameters>
 <return> the #GdkFrameTimings for the frame currently
 being processed, or even no frame is being processed, for the
-previous frame. Before any frames have been procesed, returns
+previous frame. Before any frames have been processed, returns
 %NULL.
 </return>
 </function>
diff --git a/gdk/src/gdk_extra_objects.defs b/gdk/src/gdk_extra_objects.defs
index 0b507c0..6283393 100644
--- a/gdk/src/gdk_extra_objects.defs
+++ b/gdk/src/gdk_extra_objects.defs
@@ -12,6 +12,12 @@
   (gtype-id "GDK_APP_LAUNCH_CONTEXT")
 )
 
+(define-object ContentFormats
+  (in-module "Gdk")
+  (c-name "GdkContentFormats")
+  (gtype-id "GDK_TYPE_CONTENT_FORMATS")
+)
+
 (define-object Cursor
   (in-module "Gdk")
   (c-name "GdkCursor")
diff --git a/gdk/src/gdk_methods.defs b/gdk/src/gdk_methods.defs
index 32f5809..8a195b9 100644
--- a/gdk/src/gdk_methods.defs
+++ b/gdk/src/gdk_methods.defs
@@ -832,6 +832,147 @@
 
 
 
+;; From gdkcontentformats.h
+
+(define-function gdk_content_formats_get_type
+  (c-name "gdk_content_formats_get_type")
+  (return-type "GType")
+)
+
+(define-function gdk_content_formats_new
+  (c-name "gdk_content_formats_new")
+  (is-constructor-of "GdkContentFormats")
+  (return-type "GdkContentFormats*")
+  (parameters
+    '("const-char**" "mime_types")
+    '("guint" "n_mime_types")
+  )
+)
+
+(define-method ref
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_ref")
+  (return-type "GdkContentFormats*")
+)
+
+(define-method unref
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_unref")
+  (return-type "none")
+)
+
+(define-method print
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_print")
+  (return-type "none")
+  (parameters
+    '("GString*" "string")
+  )
+)
+
+(define-method to_string
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_to_string")
+  (return-type "char*")
+)
+
+(define-method get_gtypes
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_get_gtypes")
+  (return-type "const-GType*")
+  (parameters
+    '("gsize*" "n_gtypes")
+  )
+)
+
+(define-method get_mime_types
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_get_mime_types")
+  (return-type "const-char*-const*")
+  (parameters
+    '("gsize*" "n_mime_types")
+  )
+)
+
+(define-method union
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_union")
+  (return-type "GdkContentFormats*")
+  (parameters
+    '("const-GdkContentFormats*" "second")
+  )
+)
+
+(define-method match
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_match")
+  (return-type "gboolean")
+  (parameters
+    '("const-GdkContentFormats*" "second")
+    '("GType*" "out_gtype")
+    '("const-char**" "out_mime_type")
+  )
+)
+
+(define-method contain_gtype
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_contain_gtype")
+  (return-type "gboolean")
+  (parameters
+    '("GType" "type")
+  )
+)
+
+(define-method contain_mime_type
+  (of-object "GdkContentFormats")
+  (c-name "gdk_content_formats_contain_mime_type")
+  (return-type "gboolean")
+  (parameters
+    '("const-char*" "mime_type")
+  )
+)
+
+(define-function gdk_content_formats_builder_new
+  (c-name "gdk_content_formats_builder_new")
+  (is-constructor-of "GdkContentFormatsBuilder")
+  (return-type "GdkContentFormatsBuilder*")
+)
+
+(define-method free
+  (of-object "GdkContentFormatsBuilder")
+  (c-name "gdk_content_formats_builder_free")
+  (return-type "GdkContentFormats*")
+)
+
+(define-method add_formats
+  (of-object "GdkContentFormatsBuilder")
+  (c-name "gdk_content_formats_builder_add_formats")
+  (return-type "none")
+  (parameters
+    '("const-GdkContentFormats*" "formats")
+  )
+)
+
+(define-method add_mime_type
+  (of-object "GdkContentFormatsBuilder")
+  (c-name "gdk_content_formats_builder_add_mime_type")
+  (return-type "none")
+  (parameters
+    '("const-char*" "mime_type")
+  )
+)
+
+(define-method add_gtype
+  (of-object "GdkContentFormatsBuilder")
+  (c-name "gdk_content_formats_builder_add_gtype")
+  (return-type "none")
+  (parameters
+    '("GType" "type")
+  )
+)
+
+
+
 ;; From gdkcursor.h
 
 (define-function gdk_cursor_get_type
@@ -1626,10 +1767,10 @@
   (return-type "GdkDevice*")
 )
 
-(define-method list_targets
+(define-method get_formats
   (of-object "GdkDragContext")
-  (c-name "gdk_drag_context_list_targets")
-  (return-type "GList*")
+  (c-name "gdk_drag_context_get_formats")
+  (return-type "GdkContentFormats*")
 )
 
 (define-method get_actions
@@ -1711,7 +1852,7 @@
   (return-type "GdkDragContext*")
   (parameters
     '("GdkWindow*" "window")
-    '("GList*" "targets")
+    '("GdkContentFormats*" "formats")
   )
 )
 
@@ -1721,7 +1862,7 @@
   (parameters
     '("GdkWindow*" "window")
     '("GdkDevice*" "device")
-    '("GList*" "targets")
+    '("GdkContentFormats*" "formats")
   )
 )
 
@@ -1731,7 +1872,7 @@
   (parameters
     '("GdkWindow*" "window")
     '("GdkDevice*" "device")
-    '("GList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("gint" "x_root")
     '("gint" "y_root")
   )
diff --git a/gtk/src/gtk_docs.xml b/gtk/src/gtk_docs.xml
index c003878..cdfd024 100644
--- a/gtk/src/gtk_docs.xml
+++ b/gtk/src/gtk_docs.xml
@@ -2117,6 +2117,15 @@ Since: 2.8
 </description>
 </property>
 
+<property name="GtkCellRendererPixbuf:stock-size">
+<description>
+The #GtkIconSize value that specifies the size of the rendered icon.
+
+Since: 2.2
+
+</description>
+</property>
+
 <property name="GtkCellRendererPixbuf:surface">
 <description>
 Since: 3.10
@@ -3143,7 +3152,7 @@ of the user for a drag destination site.
 <parameters>
 <parameter name="GTK_DEST_DEFAULT_MOTION">
 <parameter_description> If set for a widget, GTK+, during a drag over this
-widget will check if the drag matches this widget’s list of possible targets
+widget will check if the drag matches this widget’s list of possible formats
 and actions.
 GTK+ will then call gdk_drag_status() as appropriate.
 </parameter_description>
@@ -3156,7 +3165,7 @@ and action are acceptable.
 </parameter>
 <parameter name="GTK_DEST_DEFAULT_DROP">
 <parameter_description> If set for a widget, when a drop occurs, GTK+ will
-will check if the drag matches this widget’s list of possible targets and
+will check if the drag matches this widget’s list of possible formats and
 actions. If so, GTK+ will call gtk_drag_get_data() on behalf of the widget.
 Whether or not the drop is successful, GTK+ will call gtk_drag_finish(). If
 the action was a move, then if the drag was successful, then %TRUE will be
@@ -3607,10 +3616,12 @@ This signal has no default bindings.
 <description>
 The ::insert-emoji signal is a
 [keybinding signal][GtkBindingSignal]
-which gets emitted to present the Emoji chooser for the entry.
+which gets emitted to present the Emoji chooser for the @entry.
 
 The default bindings for this signal are Ctrl-. and Ctrl-;
 
+Since: 3.22.27
+
 </description>
 <parameters>
 <parameter name="entry">
@@ -3739,7 +3750,7 @@ Since: 2.20
 When this is %TRUE, the entry will show an emoji icon in the secondary
 icon position that brings up the Emoji chooser when clicked.
 
-Since: 3.92
+Since: 3.22.19
 
 </description>
 <parameters>
@@ -9350,11 +9361,13 @@ Since: 3.10
 </parameter_description>
 </parameter>
 <parameter name="selected_item">
-<parameter_description> #GFile with the item to which the popup should refer, or #NULL in the case of a 
@selected_volume.
+<parameter_description> #GFile with the item to which
+the popup should refer, or %NULL in the case of a @selected_volume.
 </parameter_description>
 </parameter>
 <parameter name="selected_volume">
-<parameter_description> #GVolume if the selected item is a volume, or #NULL if it is a file.
+<parameter_description> #GVolume if the selected
+item is a volume, or %NULL if it is a file.
 </parameter_description>
 </parameter>
 </parameters>
@@ -13227,36 +13240,6 @@ Since: 3.14
 </description>
 </property>
 
-<enum name="GtkTargetFlags">
-<description>
-The #GtkTargetFlags enumeration is used to specify
-constraints on a #GtkTargetEntry.
-
-</description>
-<parameters>
-<parameter name="GTK_TARGET_SAME_APP">
-<parameter_description> If this is set, the target will only be selected
-for drags within a single application.
-</parameter_description>
-</parameter>
-<parameter name="GTK_TARGET_SAME_WIDGET">
-<parameter_description> If this is set, the target will only be selected
-for drags within a single widget.
-</parameter_description>
-</parameter>
-<parameter name="GTK_TARGET_OTHER_APP">
-<parameter_description> If this is set, the target will not be selected
-for drags within a single application.
-</parameter_description>
-</parameter>
-<parameter name="GTK_TARGET_OTHER_WIDGET">
-<parameter_description> If this is set, the target will not be selected
-for drags withing a single widget.
-</parameter_description>
-</parameter>
-</parameters>
-</enum>
-
 <signal name="GtkTextBuffer::apply-tag">
 <description>
 The ::apply-tag signal is emitted to apply a tag to a
@@ -14129,6 +14112,26 @@ This signal has no default bindings.
 <return></return>
 </signal>
 
+<signal name="GtkTextView::insert-emoji">
+<description>
+The ::insert-emoji signal is a
+[keybinding signal][GtkBindingSignal]
+which gets emitted to present the Emoji chooser for the @text_view.
+
+The default bindings for this signal are Ctrl-. and Ctrl-;
+
+Since: 3.22.27
+
+</description>
+<parameters>
+<parameter name="text_view">
+<parameter_description> the object which received the signal
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</signal>
+
 <signal name="GtkTextView::move-cursor">
 <description>
 The ::move-cursor signal is a 
@@ -28614,7 +28617,7 @@ conceptually copy the contents of the #GDK_SELECTION_PRIMARY clipboard
 to the default clipboard, i.e. they copy the selection to what the
 user sees as the clipboard.
 
-(Passing #NULL is the same as using `gdk_atom_intern
+(Passing %NULL is the same as using `gdk_atom_intern
 (&quot;CLIPBOARD&quot;, FALSE)`.
 
 See the
@@ -28720,6 +28723,36 @@ owner should convert the selection.
 <return></return>
 </function>
 
+<function name="gtk_clipboard_request_formats">
+<description>
+Requests the contents of the clipboard as list of supported formats.
+When the list is later received, @callback will be called.
+
+The @formats parameter to @callback will contain the resulting formats if
+the request succeeded, or %NULL if it failed.
+
+Since: 2.4
+
+</description>
+<parameters>
+<parameter name="clipboard">
+<parameter_description> a #GtkClipboard
+</parameter_description>
+</parameter>
+<parameter name="callback">
+<parameter_description> a function to call when the formats are
+received, or the retrieval fails. (It will always be called
+one way or the other.)
+</parameter_description>
+</parameter>
+<parameter name="user_data">
+<parameter_description> user data to pass to @callback.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_clipboard_request_image">
 <description>
 Requests the contents of the clipboard as image. When the image is
@@ -28789,36 +28822,6 @@ or the retrieval fails. (It will always be called one way or the other.)
 <return></return>
 </function>
 
-<function name="gtk_clipboard_request_targets">
-<description>
-Requests the contents of the clipboard as list of supported targets.
-When the list is later received, @callback will be called.
-
-The @targets parameter to @callback will contain the resulting targets if
-the request succeeded, or %NULL if it failed.
-
-Since: 2.4
-
-</description>
-<parameters>
-<parameter name="clipboard">
-<parameter_description> a #GtkClipboard
-</parameter_description>
-</parameter>
-<parameter name="callback">
-<parameter_description> a function to call when the targets are
-received, or the retrieval fails. (It will always be called
-one way or the other.)
-</parameter_description>
-</parameter>
-<parameter name="user_data">
-<parameter_description> user data to pass to @callback.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gtk_clipboard_request_text">
 <description>
 Requests the contents of the clipboard as text. When the text is
@@ -28897,14 +28900,14 @@ Since: 2.6
 <parameter_description> a #GtkClipboard
 </parameter_description>
 </parameter>
-<parameter name="targets">
+<parameter name="formats">
 <parameter_description> The targets (data formats) in which the
 functions can provide the data or %NULL
 to indicate that all forms should be stored.
 </parameter_description>
 </parameter>
-<parameter name="n_targets">
-<parameter_description> number of elements in @targets
+<parameter name="n_formats">
+<parameter_description> number of elements in @formats
 </parameter_description>
 </parameter>
 </parameters>
@@ -28995,7 +28998,7 @@ to call to get the actual data when it is requested.
 <parameter_description> a #GtkClipboard
 </parameter_description>
 </parameter>
-<parameter name="targets">
+<parameter name="formats">
 <parameter_description> The targets (data formats) in which the
 functions can provide the data
 </parameter_description>
@@ -29038,7 +29041,7 @@ in.
 <parameter_description> a #GtkClipboard
 </parameter_description>
 </parameter>
-<parameter name="targets">
+<parameter name="formats">
 <parameter_description> The targets (data formats) in which the
 functions can provide the data
 </parameter_description>
@@ -29108,6 +29111,39 @@ when you are finished with it.
 </return>
 </function>
 
+<function name="gtk_clipboard_wait_for_formats">
+<description>
+Returns a list of formats that are present on the clipboard, or %NULL
+if there aren’t any formats available. The returned list must be
+freed with g_free().
+This function waits for the data to be received using the main
+loop, so events, timeouts, etc, may be dispatched during the wait.
+
+Since: 2.4
+
+</description>
+<parameters>
+<parameter name="clipboard">
+<parameter_description> a #GtkClipboard
+</parameter_description>
+</parameter>
+<parameter name="formats">
+<parameter_description> location
+to store an array of formats. The result stored here must
+be freed with g_free().
+</parameter_description>
+</parameter>
+<parameter name="n_formats">
+<parameter_description> location to store number of items in @formats.
+</parameter_description>
+</parameter>
+</parameters>
+<return> %TRUE if any formats are present on the clipboard,
+otherwise %FALSE.
+
+</return>
+</function>
+
 <function name="gtk_clipboard_wait_for_image">
 <description>
 Requests the contents of the clipboard as image and converts
@@ -29198,39 +29234,6 @@ converted into an image.)
 </return>
 </function>
 
-<function name="gtk_clipboard_wait_for_targets">
-<description>
-Returns a list of targets that are present on the clipboard, or %NULL
-if there aren’t any targets available. The returned list must be
-freed with g_free().
-This function waits for the data to be received using the main
-loop, so events, timeouts, etc, may be dispatched during the wait.
-
-Since: 2.4
-
-</description>
-<parameters>
-<parameter name="clipboard">
-<parameter_description> a #GtkClipboard
-</parameter_description>
-</parameter>
-<parameter name="targets">
-<parameter_description> location
-to store an array of targets. The result stored here must
-be freed with g_free().
-</parameter_description>
-</parameter>
-<parameter name="n_targets">
-<parameter_description> location to store number of items in @targets.
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if any targets are present on the clipboard,
-otherwise %FALSE.
-
-</return>
-</function>
-
 <function name="gtk_clipboard_wait_for_text">
 <description>
 Requests the contents of the clipboard as text and converts
@@ -29284,7 +29287,7 @@ the clipboard could not be converted into URI form.)
 <description>
 Test to see if there is an image available to be pasted
 This is done by requesting the TARGETS atom and checking
-if it contains any of the supported image targets. This function 
+if it contains any of the supported image formats. This function 
 waits for the data to be received using the main loop, so events, 
 timeouts, etc, may be dispatched during the wait.
 
@@ -29310,7 +29313,7 @@ Since: 2.6
 <description>
 Test to see if there is rich text available to be pasted
 This is done by requesting the TARGETS atom and checking
-if it contains any of the supported rich text targets. This function
+if it contains any of the supported rich text formats. This function
 waits for the data to be received using the main loop, so events,
 timeouts, etc, may be dispatched during the wait.
 
@@ -29367,7 +29370,7 @@ Since: 2.6
 <description>
 Test to see if there is text available to be pasted
 This is done by requesting the TARGETS atom and checking
-if it contains any of the supported text targets. This function 
+if it contains any of the supported text formats. This function 
 waits for the data to be received using the main loop, so events, 
 timeouts, etc, may be dispatched during the wait.
 
@@ -29391,7 +29394,7 @@ the actual text.
 <description>
 Test to see if there is a list of URIs available to be pasted
 This is done by requesting the TARGETS atom and checking
-if it contains the URI targets. This function
+if it contains the URI formats. This function
 waits for the data to be received using the main loop, so events, 
 timeouts, etc, may be dispatched during the wait.
 
@@ -31333,6 +31336,94 @@ Removes a focus chain explicitly set with gtk_container_set_focus_chain().
 <return></return>
 </function>
 
+<function name="gtk_content_formats_add_image_targets">
+<description>
+Appends the image targets supported by #GtkSelectionData to
+the target list. All targets are added with the same @info.
+
+Since: 2.6
+
+</description>
+<parameters>
+<parameter name="list">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="writable">
+<parameter_description> whether to add only targets for which GTK+ knows
+how to convert a pixbuf into the format
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_content_formats_add_rich_text_targets">
+<description>
+Appends the rich text targets registered with
+gtk_text_buffer_register_serialize_format() or
+gtk_text_buffer_register_deserialize_format() to the target list. All
+targets are added with the same @info.
+
+Since: 2.10
+
+</description>
+<parameters>
+<parameter name="list">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="deserializable">
+<parameter_description> if %TRUE, then deserializable rich text formats
+will be added, serializable formats otherwise.
+</parameter_description>
+</parameter>
+<parameter name="buffer">
+<parameter_description> a #GtkTextBuffer.
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_content_formats_add_text_targets">
+<description>
+Appends the text targets supported by #GtkSelectionData to
+the target list. All targets are added with the same @info.
+
+Since: 2.6
+
+</description>
+<parameters>
+<parameter name="list">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
+<function name="gtk_content_formats_add_uri_targets">
+<description>
+Appends the URI targets supported by #GtkSelectionData to
+the target list. All targets are added with the same @info.
+
+Since: 2.6
+
+</description>
+<parameters>
+<parameter name="list">
+<parameter_description> a #GdkContentFormats
+</parameter_description>
+</parameter>
+<parameter name="info">
+<parameter_description> an ID that will be passed back to the application
+</parameter_description>
+</parameter>
+</parameters>
+<return></return>
+</function>
+
 <function name="gtk_css_node_new">
 <description>
 Creates a new CSS node.
@@ -32363,7 +32454,7 @@ drag-and-drop.
 </parameter_description>
 </parameter>
 </parameters>
-<return> the #GtkTargetList, or %NULL if none
+<return> the #GdkContentFormats, or %NULL if none
 </return>
 </function>
 
@@ -32783,7 +32874,7 @@ Since: 2.6
 Add the text targets supported by #GtkSelectionData to
 the target list of the drag source.  The targets
 are added with @info = 0. If you need another value, 
-use gtk_target_list_add_text_targets() and
+use gtk_content_formats_add_text_targets() and
 gtk_drag_source_set_target_list().
 
 Since: 2.6
@@ -32803,7 +32894,7 @@ Since: 2.6
 Add the URI targets supported by #GtkSelectionData to
 the target list of the drag source.  The targets
 are added with @info = 0. If you need another value, 
-use gtk_target_list_add_uri_targets() and
+use gtk_content_formats_add_uri_targets() and
 gtk_drag_source_set_target_list().
 
 Since: 2.6
@@ -32832,7 +32923,7 @@ Since: 2.4
 </parameter_description>
 </parameter>
 </parameters>
-<return> the #GtkTargetList, or %NULL if none
+<return> the #GdkContentFormats, or %NULL if none
 
 </return>
 </function>
@@ -35372,7 +35463,7 @@ Since: 2.16
 <parameter_description> icon position
 </parameter_description>
 </parameter>
-<parameter name="target_list">
+<parameter name="formats">
 <parameter_description> the targets (data formats) in which the data can be provided
 </parameter_description>
 </parameter>
@@ -40742,7 +40833,7 @@ Since: 3.14
 If @rect is non-%NULL, the press area will be checked to be
 confined within the rectangle, otherwise the button count
 will be reset so the press is seen as being the first one.
-If @rect is #NULL, the area will be reset to an unrestricted
+If @rect is %NULL, the area will be reset to an unrestricted
 state.
 
 Note: The rectangle is only used to determine whether any
@@ -44188,8 +44279,8 @@ Since: 2.8
 <parameter_description> a #GtkIconView
 </parameter_description>
 </parameter>
-<parameter name="targets">
-<parameter_description> the targets that the drag will support
+<parameter name="formats">
+<parameter_description> the formats that the drag will support
 </parameter_description>
 </parameter>
 <parameter name="actions">
@@ -44218,8 +44309,8 @@ Since: 2.8
 <parameter_description> Mask of allowed buttons to start drag
 </parameter_description>
 </parameter>
-<parameter name="targets">
-<parameter_description> the targets that the drag will support
+<parameter name="formats">
+<parameter_description> the formats that the drag will support
 </parameter_description>
 </parameter>
 <parameter name="actions">
@@ -55620,7 +55711,7 @@ Since: 3.12
 
 <function name="gtk_places_sidebar_get_location">
 <description>
-Gets the currently-selected location in the @sidebar.  This can be #NULL when
+Gets the currently selected location in the @sidebar. This can be %NULL when
 nothing is selected, for example, when gtk_places_sidebar_set_location() has
 been called with a location that is not among the sidebar’s list of places to
 show.
@@ -55639,7 +55730,7 @@ Since: 3.10
 </parameter_description>
 </parameter>
 </parameters>
-<return> a GFile with the selected location, or
+<return> a #GFile with the selected location, or
 %NULL if nothing is visually selected.
 
 </return>
@@ -55931,7 +56022,7 @@ Since: 3.10
 </parameter_description>
 </parameter>
 <parameter name="location">
-<parameter_description> location to select, or #NULL for no current path
+<parameter_description> location to select, or %NULL for no current path
 </parameter_description>
 </parameter>
 </parameters>
@@ -68594,8 +68685,7 @@ Since: 3.90
 <function name="gtk_spin_button_configure">
 <description>
 Changes the properties of an existing spin button. The adjustment,
-climb rate, and number of decimal places are all changed accordingly,
-after this function call.
+climb rate, and number of decimal places are updated accordingly.
 
 </description>
 <parameters>
@@ -68604,7 +68694,8 @@ after this function call.
 </parameter_description>
 </parameter>
 <parameter name="adjustment">
-<parameter_description>  a #GtkAdjustment
+<parameter_description> a #GtkAdjustment to replace the spin button’s
+existing adjustment, or %NULL to leave its current adjustment unchanged
 </parameter_description>
 </parameter>
 <parameter name="climb_rate">
@@ -70989,246 +71080,6 @@ Since: 3.14
 <return></return>
 </function>
 
-<function name="gtk_target_list_add">
-<description>
-Appends another target to a #GtkTargetList.
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description>  a #GtkTargetList
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> the interned atom representing the target
-</parameter_description>
-</parameter>
-<parameter name="flags">
-<parameter_description> the flags for this target
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_add_image_targets">
-<description>
-Appends the image targets supported by #GtkSelectionData to
-the target list. All targets are added with the same @info.
-
-Since: 2.6
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-<parameter name="writable">
-<parameter_description> whether to add only targets for which GTK+ knows
-how to convert a pixbuf into the format
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_add_rich_text_targets">
-<description>
-Appends the rich text targets registered with
-gtk_text_buffer_register_serialize_format() or
-gtk_text_buffer_register_deserialize_format() to the target list. All
-targets are added with the same @info.
-
-Since: 2.10
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-<parameter name="deserializable">
-<parameter_description> if %TRUE, then deserializable rich text formats
-will be added, serializable formats otherwise.
-</parameter_description>
-</parameter>
-<parameter name="buffer">
-<parameter_description> a #GtkTextBuffer.
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_add_table">
-<description>
-Prepends a table of #GtkTargetEntry to a target list.
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-<parameter name="targets">
-<parameter_description> the table of #GtkTargetEntry
-</parameter_description>
-</parameter>
-<parameter name="ntargets">
-<parameter_description> number of targets in the table
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_add_text_targets">
-<description>
-Appends the text targets supported by #GtkSelectionData to
-the target list. All targets are added with the same @info.
-
-Since: 2.6
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_add_uri_targets">
-<description>
-Appends the URI targets supported by #GtkSelectionData to
-the target list. All targets are added with the same @info.
-
-Since: 2.6
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-<parameter name="info">
-<parameter_description> an ID that will be passed back to the application
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_find">
-<description>
-Looks up a given target in a #GtkTargetList.
-
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> an interned atom representing the target to search for
-</parameter_description>
-</parameter>
-</parameters>
-<return> %TRUE if the target was found, otherwise %FALSE
-</return>
-</function>
-
-<function name="gtk_target_list_merge">
-<description>
-Merges all targets from @source into @target.
-
-</description>
-<parameters>
-<parameter name="target">
-<parameter_description> the #GtkTargetList to merge into
-</parameter_description>
-</parameter>
-<parameter name="source">
-<parameter_description> the #GtkTargeList to merge from
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_new">
-<description>
-Creates a new #GtkTargetList from an array of #GtkTargetEntry.
-
-
-</description>
-<parameters>
-<parameter name="targets">
-<parameter_description> Pointer to an array
-of #GtkTargetEntry
-</parameter_description>
-</parameter>
-<parameter name="ntargets">
-<parameter_description> number of entries in @targets.
-</parameter_description>
-</parameter>
-</parameters>
-<return> the new #GtkTargetList.
-</return>
-</function>
-
-<function name="gtk_target_list_ref">
-<description>
-Increases the reference count of a #GtkTargetList by one.
-
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description>  a #GtkTargetList
-</parameter_description>
-</parameter>
-</parameters>
-<return> the passed in #GtkTargetList.
-</return>
-</function>
-
-<function name="gtk_target_list_remove">
-<description>
-Removes a target from a target list.
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-<parameter name="target">
-<parameter_description> the interned atom representing the target
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
-<function name="gtk_target_list_unref">
-<description>
-Decreases the reference count of a #GtkTargetList by one.
-If the resulting reference count is zero, frees the list.
-
-</description>
-<parameters>
-<parameter name="list">
-<parameter_description> a #GtkTargetList
-</parameter_description>
-</parameter>
-</parameters>
-<return></return>
-</function>
-
 <function name="gtk_targets_include_image">
 <description>
 Determines if any of the targets in @targets can be used to
@@ -72133,8 +71984,8 @@ count is cached, so this function is very fast.
 This function returns the list of targets this text buffer can
 provide for copying and as DND source. The targets in the list are
 added with @info values from the #GtkTextBufferTargetInfo enum,
-using gtk_target_list_add_rich_text_targets() and
-gtk_target_list_add_text_targets().
+using gdk_content_formats_add_rich_text_targets() and
+gdk_content_formats_add_text_targets().
 
 Since: 2.10
 
@@ -72145,7 +71996,7 @@ Since: 2.10
 </parameter_description>
 </parameter>
 </parameters>
-<return> the #GtkTargetList
+<return> the #GdkContentFormats
 
 </return>
 </function>
@@ -72456,8 +72307,8 @@ editor.
 This function returns the list of targets this text buffer supports
 for pasting and as DND destination. The targets in the list are
 added with @info values from the #GtkTextBufferTargetInfo enum,
-using gtk_target_list_add_rich_text_targets() and
-gtk_target_list_add_text_targets().
+using gtk_content_formats_add_rich_text_targets() and
+gtk_content_formats_add_text_targets().
 
 Since: 2.10
 
@@ -72468,7 +72319,7 @@ Since: 2.10
 </parameter_description>
 </parameter>
 </parameters>
-<return> the #GtkTargetList
+<return> the #GdkContentFormats
 
 </return>
 </function>
@@ -75733,11 +75584,11 @@ direction of the paragraph are inserted.
 </parameter_description>
 </parameter>
 <parameter name="strong_pos">
-<parameter_description> location to store the strong cursor position (may be %NULL)
+<parameter_description> location to store the strong cursor position, or %NULL
 </parameter_description>
 </parameter>
 <parameter name="weak_pos">
-<parameter_description> location to store the weak cursor position (may be %NULL)
+<parameter_description> location to store the weak cursor position, or %NULL
 </parameter_description>
 </parameter>
 </parameters>
@@ -79437,7 +79288,7 @@ Since: 2.20
 
 <function name="gtk_tool_palette_get_drag_target_item">
 <description>
-Gets the target entry for a dragged #GtkToolItem.
+Gets the mime type for a dragged #GtkToolItem.
 
 Since: 2.20
 
@@ -85037,12 +84888,8 @@ this method sets #GtkTreeView:reorderable to %FALSE.
 <parameter_description> a #GtkTreeView
 </parameter_description>
 </parameter>
-<parameter name="targets">
-<parameter_description> the targets that the drag will support
-</parameter_description>
-</parameter>
-<parameter name="n_targets">
-<parameter_description> the number of items in @targets
+<parameter name="formats">
+<parameter_description> the target formats that the drag will support
 </parameter_description>
 </parameter>
 <parameter name="actions">
@@ -85069,8 +84916,8 @@ method sets #GtkTreeView:reorderable to %FALSE.
 <parameter_description> Mask of allowed buttons to start drag
 </parameter_description>
 </parameter>
-<parameter name="targets">
-<parameter_description> the targets that the drag will support
+<parameter name="formats">
+<parameter_description> the target formats that the drag will support
 </parameter_description>
 </parameter>
 <parameter name="actions">
@@ -88646,7 +88493,7 @@ Since: 3.8
 </parameter>
 </parameters>
 <return> a #GdkFrameClock,
-or #NULL if widget is unrealized
+or %NULL if widget is unrealized
 
 </return>
 </function>
diff --git a/gtk/src/gtk_enums.defs b/gtk/src/gtk_enums.defs
index c122e37..2d4878d 100644
--- a/gtk/src/gtk_enums.defs
+++ b/gtk/src/gtk_enums.defs
@@ -2294,27 +2294,6 @@
   )
 )
 
-;; From gtkselection.h
-
-;; Original typedef:
-;; typedef enum {
-;;   GTK_TARGET_SAME_APP = 1 << 0,    /*< nick=same-app >*/
-;;   GTK_TARGET_SAME_WIDGET = 1 << 1, /*< nick=same-widget >*/
-;;   GTK_TARGET_OTHER_APP = 1 << 2,   /*< nick=other-app >*/
-;;   GTK_TARGET_OTHER_WIDGET = 1 << 3 /*< nick=other-widget >*/
-;; } GtkTargetFlags;
-
-(define-flags-extended TargetFlags
-  (in-module "Gtk")
-  (c-name "GtkTargetFlags")
-  (values
-    '("same-app" "GTK_TARGET_SAME_APP" "1 << 0")
-    '("same-widget" "GTK_TARGET_SAME_WIDGET" "1 << 1")
-    '("other-app" "GTK_TARGET_OTHER_APP" "1 << 2")
-    '("other-widget" "GTK_TARGET_OTHER_WIDGET" "1 << 3")
-  )
-)
-
 ;; From gtkshortcutsshortcut.h
 
 ;; Original typedef:
diff --git a/gtk/src/gtk_methods.defs b/gtk/src/gtk_methods.defs
index ecb4646..96968c2 100644
--- a/gtk/src/gtk_methods.defs
+++ b/gtk/src/gtk_methods.defs
@@ -2484,18 +2484,6 @@
   )
 )
 
-(define-flags TargetFlags
-  (in-module "Gtk")
-  (c-name "GtkTargetFlags")
-  (gtype-id "GTK_TYPE_TARGET_FLAGS")
-  (values
-    '("same-app" "GTK_TARGET_SAME_APP")
-    '("same-widget" "GTK_TARGET_SAME_WIDGET")
-    '("other-app" "GTK_TARGET_OTHER_APP")
-    '("other-widget" "GTK_TARGET_OTHER_WIDGET")
-  )
-)
-
 (define-enum ShortcutType
   (in-module "Gtk")
   (c-name "GtkShortcutType")
@@ -7229,7 +7217,7 @@
   (c-name "gtk_clipboard_set_with_data")
   (return-type "gboolean")
   (parameters
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GtkClipboardGetFunc" "get_func")
     '("GtkClipboardClearFunc" "clear_func")
     '("gpointer" "user_data")
@@ -7241,7 +7229,7 @@
   (c-name "gtk_clipboard_set_with_owner")
   (return-type "gboolean")
   (parameters
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GtkClipboardGetFunc" "get_func")
     '("GtkClipboardClearFunc" "clear_func")
     '("GObject*" "owner")
@@ -7445,7 +7433,7 @@
   (c-name "gtk_clipboard_set_can_store")
   (return-type "none")
   (parameters
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "targets")
   )
 )
 
@@ -8608,7 +8596,7 @@
   (return-type "GdkDragContext*")
   (parameters
     '("GtkWidget*" "widget")
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
     '("gint" "button")
     '("GdkEvent*" "event")
@@ -8697,7 +8685,7 @@
   (parameters
     '("GtkWidget*" "widget")
     '("GtkDestDefaults" "flags")
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
   )
 )
@@ -8716,13 +8704,13 @@
   (parameters
     '("GtkWidget*" "widget")
     '("GdkDragContext*" "context")
-    '("GtkTargetList*" "target_list")
+    '("GdkContentFormats*" "target_list")
   )
 )
 
 (define-function gtk_drag_dest_get_target_list
   (c-name "gtk_drag_dest_get_target_list")
-  (return-type "GtkTargetList*")
+  (return-type "GdkContentFormats*")
   (parameters
     '("GtkWidget*" "widget")
   )
@@ -8733,7 +8721,7 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "widget")
-    '("GtkTargetList*" "target_list")
+    '("GdkContentFormats*" "target_list")
   )
 )
 
@@ -8788,7 +8776,7 @@
   (parameters
     '("GtkWidget*" "widget")
     '("GdkModifierType" "start_button_mask")
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
   )
 )
@@ -8803,7 +8791,7 @@
 
 (define-function gtk_drag_source_get_target_list
   (c-name "gtk_drag_source_get_target_list")
-  (return-type "GtkTargetList*")
+  (return-type "GdkContentFormats*")
   (parameters
     '("GtkWidget*" "widget")
   )
@@ -8814,7 +8802,7 @@
   (return-type "none")
   (parameters
     '("GtkWidget*" "widget")
-    '("GtkTargetList*" "target_list")
+    '("GdkContentFormats*" "target_list")
   )
 )
 
@@ -9856,7 +9844,7 @@
   (return-type "none")
   (parameters
     '("GtkEntryIconPosition" "icon_pos")
-    '("GtkTargetList*" "target_list")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
   )
 )
@@ -13299,7 +13287,7 @@
   (return-type "none")
   (parameters
     '("GdkModifierType" "start_button_mask")
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
   )
 )
@@ -13309,7 +13297,7 @@
   (c-name "gtk_icon_view_enable_model_drag_dest")
   (return-type "none")
   (parameters
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
   )
 )
@@ -22477,108 +22465,38 @@
 
 ;; From gtkselection.h
 
-(define-function gtk_target_list_get_type
-  (c-name "gtk_target_list_get_type")
-  (return-type "GType")
-)
-
-(define-function gtk_target_list_new
-  (c-name "gtk_target_list_new")
-  (is-constructor-of "GtkTargetList")
-  (return-type "GtkTargetList*")
+(define-function gtk_content_formats_add_text_targets
+  (c-name "gtk_content_formats_add_text_targets")
+  (return-type "GdkContentFormats*")
   (parameters
-    '("const-GtkTargetEntry*" "targets")
-    '("guint" "ntargets")
+    '("GdkContentFormats*" "list")
   )
 )
 
-(define-method ref
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_ref")
-  (return-type "GtkTargetList*")
-)
-
-(define-method unref
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_unref")
-  (return-type "none")
-)
-
-(define-method merge
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_merge")
-  (return-type "none")
-  (parameters
-    '("const-GtkTargetList*" "source")
-  )
-)
-
-(define-method add
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_add")
-  (return-type "none")
-  (parameters
-    '("GdkAtom" "target")
-    '("guint" "flags")
-  )
-)
-
-(define-method add_text_targets
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_add_text_targets")
-  (return-type "none")
-)
-
-(define-method add_rich_text_targets
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_add_rich_text_targets")
-  (return-type "none")
+(define-function gtk_content_formats_add_rich_text_targets
+  (c-name "gtk_content_formats_add_rich_text_targets")
+  (return-type "GdkContentFormats*")
   (parameters
+    '("GdkContentFormats*" "list")
     '("gboolean" "deserializable")
     '("GtkTextBuffer*" "buffer")
   )
 )
 
-(define-method add_image_targets
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_add_image_targets")
-  (return-type "none")
+(define-function gtk_content_formats_add_image_targets
+  (c-name "gtk_content_formats_add_image_targets")
+  (return-type "GdkContentFormats*")
   (parameters
+    '("GdkContentFormats*" "list")
     '("gboolean" "writable")
   )
 )
 
-(define-method add_uri_targets
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_add_uri_targets")
-  (return-type "none")
-)
-
-(define-method add_table
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_add_table")
-  (return-type "none")
-  (parameters
-    '("const-GtkTargetEntry*" "targets")
-    '("guint" "ntargets")
-  )
-)
-
-(define-method remove
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_remove")
-  (return-type "none")
-  (parameters
-    '("GdkAtom" "target")
-  )
-)
-
-(define-method find
-  (of-object "GtkTargetList")
-  (c-name "gtk_target_list_find")
-  (return-type "gboolean")
+(define-function gtk_content_formats_add_uri_targets
+  (c-name "gtk_content_formats_add_uri_targets")
+  (return-type "GdkContentFormats*")
   (parameters
-    '("GdkAtom" "target")
+    '("GdkContentFormats*" "list")
   )
 )
 
@@ -22619,7 +22537,7 @@
   (parameters
     '("GtkWidget*" "widget")
     '("GdkAtom" "selection")
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "targets")
   )
 )
 
@@ -25105,13 +25023,13 @@
 (define-method get_copy_target_list
   (of-object "GtkTextBuffer")
   (c-name "gtk_text_buffer_get_copy_target_list")
-  (return-type "GtkTargetList*")
+  (return-type "GdkContentFormats*")
 )
 
 (define-method get_paste_target_list
   (of-object "GtkTextBuffer")
   (c-name "gtk_text_buffer_get_paste_target_list")
-  (return-type "GtkTargetList*")
+  (return-type "GdkContentFormats*")
 )
 
 
@@ -27499,12 +27417,12 @@
 
 (define-function gtk_tool_palette_get_drag_target_item
   (c-name "gtk_tool_palette_get_drag_target_item")
-  (return-type "const-GtkTargetEntry*")
+  (return-type "const-char*")
 )
 
 (define-function gtk_tool_palette_get_drag_target_group
   (c-name "gtk_tool_palette_get_drag_target_group")
-  (return-type "const-GtkTargetEntry*")
+  (return-type "const-char*")
 )
 
 
@@ -29765,7 +29683,7 @@
   (return-type "none")
   (parameters
     '("GdkModifierType" "start_button_mask")
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
   )
 )
@@ -29775,7 +29693,7 @@
   (c-name "gtk_tree_view_enable_model_drag_dest")
   (return-type "none")
   (parameters
-    '("GtkTargetList*" "targets")
+    '("GdkContentFormats*" "formats")
     '("GdkDragAction" "actions")
   )
 )
@@ -33331,11 +33249,6 @@
   (return-type "GType")
 )
 
-(define-function gtk_target_flags_get_type
-  (c-name "gtk_target_flags_get_type")
-  (return-type "GType")
-)
-
 (define-function gtk_shortcut_type_get_type
   (c-name "gtk_shortcut_type_get_type")
   (return-type "GType")
diff --git a/gtk/src/gtk_signals.defs b/gtk/src/gtk_signals.defs
index 13c0fc3..d19d739 100644
--- a/gtk/src/gtk_signals.defs
+++ b/gtk/src/gtk_signals.defs
@@ -10418,6 +10418,12 @@
   )
 )
 
+(define-signal insert-emoji
+  (of-object "GtkTextView")
+  (return-type "void")
+  (flags "Run Last, Action")
+)
+
 (define-signal select-all
   (of-object "GtkTextView")
   (return-type "void")


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