summaryrefslogtreecommitdiff
path: root/gtk/gtkdragdest.c
Commit message (Collapse)AuthorAgeFilesLines
* The big versioning cleanupMatthias Clasen2018-02-061-10/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* gtk: Remove unused includeBenjamin Otte2017-12-151-1/+0
|
* gdkcontentformats: Change the matching APIBenjamin Otte2017-12-031-9/+3
| | | | | | | | Instead of having just one function that has the gtype and mime type as out arguments, have 3 functions: 1 that finds any match, 1 that finds a GType match and one for a mime type match. This makes the API way more convenient to use.
* gdk: Add GType support to GdkContentFormatsBenjamin Otte2017-11-201-2/+4
| | | | | | | | | This is not used by anything yet, but add it now, so people looking at this new code can make sense of it. Plus, the documentation mentions it, so better have the docs make sense. It will be used once we add support for conversions to GDK and allow doing cipboard/dnd by GValue.
* gdk: Sanitize GdkContentFormats APIBenjamin Otte2017-11-201-2/+2
| | | | | | | | | | Make sure the API reflects the idea that GdkContentFormats is a set containing mime types. In particular, treat the object itself as a plural - it's named content format`S' after all - and therefor use the correct verb form. Also make GdkContentFormats keep an array instead of a list, now that it's immutable.
* gdk: Make GdkContentFormats immutableBenjamin Otte2017-11-201-3/+3
|
* gdkdnd: Make GdkDragContext->formats a GdkContentFormatsBenjamin Otte2017-11-201-13/+2
| | | | Instead of it being a GList of GdkAtoms.
* contentformats: Rename GtkTargetListBenjamin Otte2017-11-201-34/+34
| | | | It's now called GdkContentsFormat
* selection: Make GtkTargetList members privateBenjamin Otte2017-11-201-13/+13
| | | | | Outside of the target list, don't access it directly, instead use public APIs like the newly introduced gtk_target_list_intersects().
* dnd: Remove GtkTargetEntry and GtkTargetFlagsBenjamin Otte2017-11-201-13/+2
| | | | | | | warning: We don't do any same-app checks anymore so you currently can copy local data into external apps. This will be fixed later.
* selection: Remove the info uintBenjamin Otte2017-11-161-3/+3
| | | | | | | | | Instead of allowing people to pass a uint user-data, insist on them comparing mime types. The user data was a uint instead of a pointer anyway, so uniqueness could not be guaranteed and it caused more issues than it was worth. And that's ignoring the fact that it basically wasn't used.
* gdk: Replace GDK_NONE with NULLBenjamin Otte2017-11-151-7/+7
|
* dnd: Make GtkDragDest and GtkDragSource use GtkTargetListBenjamin Otte2017-11-151-9/+6
| | | | | This gets rid of GtkTargetEntry in the API and consistently uses GtkTargetList.
* API: Remove gtk_drag_dest_set_proxy()Benjamin Otte2016-10-161-45/+0
| | | | Proxies were only used by GtkSocket.
* Add some missing (nullable) annotationsRico Tzschichholz2016-09-221-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=771826
* dnd: Move GtkDragDest to a separate fileMatthias Clasen2016-03-251-0/+500
This follows what was done for GtkDragSource in 415030d25f2552d3937ee3c394c50d22c5382982 and shaves another 500 lines off gtkdnd.c.