After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684096 - GtkWidget:drag-data-received code sample refers to removed GdkDragContext "action" member
GtkWidget:drag-data-received code sample refers to removed GdkDragContext "ac...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2012-09-15 15:29 UTC by Colomban Wendling
Modified: 2012-09-15 20:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Colomban Wendling 2012-09-15 15:29:21 UTC
The docs for the GtkWidget:drag-data-received signal in both 2.x and 3.x suggest setting the GdkDragContext::action member when dealing with GDK_ACTION_ASK.  In 2.x it is possible, although latest versions tells this is a private member, but in 3.x this field is simply gone, so the doc is wrong here.

See: http://developer.gnome.org/gtk3/unstable/GtkWidget.html#GtkWidget-drag-data-received

However, I have no idea what's the replacement to this in 3.x -- actually it was what I was looking for.
Comment 1 Colomban Wendling 2012-09-15 16:00:55 UTC
Hum, actually on GTK2 although the member is gsealed it is marked as public, wired.