@@ -5739,7 +5739,7 @@ Initially, the hotspot is at the top left corner of the drag surface.</doc>
5739
5739
</parameter>
5740
5740
</parameters>
5741
5741
</method>
5742
- <property name="actions" writable="1" transfer-ownership="none" getter="get_actions" default-value="0 ">
5742
+ <property name="actions" writable="1" transfer-ownership="none" getter="get_actions" default-value="GDK_ACTION_NONE ">
5743
5743
<doc xml:space="preserve">The possible actions of this drag.</doc>
5744
5744
<type name="DragAction"/>
5745
5745
</property>
@@ -5759,7 +5759,7 @@ Initially, the hotspot is at the top left corner of the drag surface.</doc>
5759
5759
<doc xml:space="preserve">The possible formats that the drag can provide its data in.</doc>
5760
5760
<type name="ContentFormats"/>
5761
5761
</property>
5762
- <property name="selected-action" writable="1" transfer-ownership="none" getter="get_selected_action" default-value="0 ">
5762
+ <property name="selected-action" writable="1" transfer-ownership="none" getter="get_selected_action" default-value="GDK_ACTION_NONE ">
5763
5763
<doc xml:space="preserve">The currently selected action of the drag.</doc>
5764
5764
<type name="DragAction"/>
5765
5765
</property>
@@ -5797,6 +5797,9 @@ The drag object can now free all miscellaneous data.</doc>
5797
5797
<bitfield name="DragAction" glib:type-name="GdkDragAction" glib:get-type="gdk_drag_action_get_type" c:type="GdkDragAction">
5798
5798
<doc xml:space="preserve">Used in `GdkDrop` and `GdkDrag` to indicate the actions that the
5799
5799
destination can and should do with the dropped data.</doc>
5800
+ <member name="none" value="0" c:identifier="GDK_ACTION_NONE" version="4.20" glib:nick="none" glib:name="GDK_ACTION_NONE">
5801
+ <doc xml:space="preserve">No action.</doc>
5802
+ </member>
5800
5803
<member name="copy" value="1" c:identifier="GDK_ACTION_COPY" glib:nick="copy" glib:name="GDK_ACTION_COPY">
5801
5804
<doc xml:space="preserve">Copy the data.</doc>
5802
5805
</member>
@@ -5816,7 +5819,7 @@ destination can and should do with the dropped data.</doc>
5816
5819
<doc xml:space="preserve">Checks if @action represents a single action or includes
5817
5820
multiple actions.
5818
5821
5819
- When @action is 0 - ie no action was given, % TRUE
5822
+ When @action is `GDK_ACTION_NONE` - ie no action was given, ` TRUE`
5820
5823
is returned.</doc>
5821
5824
<return-value transfer-ownership="none">
5822
5825
<doc xml:space="preserve">%TRUE if exactly one action was given</doc>
6096
6099
<type name="Drop" c:type="GdkDrop*"/>
6097
6100
</instance-parameter>
6098
6101
<parameter name="action" transfer-ownership="none">
6099
- <doc xml:space="preserve">the action performed by the destination or 0 if the drop failed</doc>
6102
+ <doc xml:space="preserve">the action performed by the destination or `GDK_ACTION_NONE` if the
6103
+ drop failed</doc>
6100
6104
<type name="DragAction" c:type="GdkDragAction"/>
6101
6105
</parameter>
6102
6106
</parameters>
@@ -6340,8 +6344,8 @@ actions first and then later call this function again.</doc>
6340
6344
<type name="Drop" c:type="GdkDrop*"/>
6341
6345
</instance-parameter>
6342
6346
<parameter name="actions" transfer-ownership="none">
6343
- <doc xml:space="preserve">Supported actions of the destination, or 0 to indicate
6344
- that a drop will not be accepted</doc>
6347
+ <doc xml:space="preserve">Supported actions of the destination, or `GDK_ACTION_NONE` to
6348
+ indicate that a drop will not be accepted</doc>
6345
6349
<type name="DragAction" c:type="GdkDragAction"/>
6346
6350
</parameter>
6347
6351
<parameter name="preferred" transfer-ownership="none">
@@ -22321,7 +22325,7 @@ indicate a higher priority.</doc>
22321
22325
<doc xml:space="preserve">Checks if @action represents a single action or includes
22322
22326
multiple actions.
22323
22327
22324
- When @action is 0 - ie no action was given, % TRUE
22328
+ When @action is `GDK_ACTION_NONE` - ie no action was given, ` TRUE`
22325
22329
is returned.</doc>
22326
22330
<return-value transfer-ownership="none">
22327
22331
<doc xml:space="preserve">%TRUE if exactly one action was given</doc>
0 commit comments