/**
* gdk_drop_has_value:
- * @drop: a #GdkDrop
+ * @self: a #GdkDrop
* @type: the type to check
*
* Returns whether calling gdk_drop_read_value_async() for @type
* Returns: %TRUE if the data can be deserialized to the given type
*/
gboolean
-gdk_drop_has_value (GdkDrop *drop,
+gdk_drop_has_value (GdkDrop *self,
GType type)
{
GdkContentFormats *formats;
gboolean ret;
- formats = gdk_content_formats_ref (gdk_drop_get_formats (drop));
+ formats = gdk_content_formats_ref (gdk_drop_get_formats (self));
formats = gdk_content_formats_union_deserialize_gtypes (formats);
ret = gdk_content_formats_contain_gtype (formats, type);
/**
* gtk_drop_target_get_actions:
- * @dst: a #GtkDropTarget
+ * @dest: a #GtkDropTarget
*
* Gets the actions that this drop target supports.
*
GdkAtom target,
GCancellable *cancellable,
GAsyncReadyCallback callback,
- gpointer data);
+ gpointer user_data);
GDK_AVAILABLE_IN_ALL
GtkSelectionData *gtk_drop_target_read_selection_finish
(GtkDropTarget *dest,
int hot_x,
int hot_y);
GDK_AVAILABLE_IN_ALL
-void gtk_drag_source_drag_cancel (GtkDragSource *sourcei);
+void gtk_drag_source_drag_cancel (GtkDragSource *source);
GDK_AVAILABLE_IN_ALL
GdkDrag * gtk_drag_source_get_drag (GtkDragSource *source);
* gtk_entry_set_icon_drag_source:
* @entry: a #GtkEntry
* @icon_pos: icon position
- * @formats: the targets (data formats) in which the data can be provided
+ * @provider: a #GdkContentProvider
* @actions: a bitmask of the allowed drag actions
*
* Sets up the icon at the given position so that GTK+ will start a drag
GDK_AVAILABLE_IN_ALL
void gtk_entry_set_icon_drag_source (GtkEntry *entry,
GtkEntryIconPosition icon_pos,
- GdkContentProvider *content,
+ GdkContentProvider *provider,
GdkDragAction actions);
GDK_AVAILABLE_IN_ALL
gint gtk_entry_get_current_icon_drag_source (GtkEntry *entry);