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 632095 - GtkTargetEntry: Add boxed type and constructor
GtkTargetEntry: Add boxed type and constructor
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-10-13 20:00 UTC by Colin Walters
Modified: 2010-10-15 18:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
GtkTargetEntry: Add boxed type and constructor (3.33 KB, patch)
2010-10-13 20:00 UTC, Colin Walters
none Details | Review
GtkTargetEntry: Add boxed type and constructor (3.35 KB, patch)
2010-10-13 20:06 UTC, Colin Walters
accepted-commit_now Details | Review

Description Colin Walters 2010-10-13 20:00:45 UTC
This allows bindings to sanely construct these.
Comment 1 Colin Walters 2010-10-13 20:00:49 UTC
Created attachment 172305 [details] [review]
GtkTargetEntry: Add boxed type and constructor
Comment 2 Colin Walters 2010-10-13 20:06:06 UTC
Created attachment 172306 [details] [review]
GtkTargetEntry: Add boxed type and constructor

Now with no trailing whitespace
Comment 3 johnp 2010-10-13 20:10:21 UTC
Comment on attachment 172306 [details] [review]
GtkTargetEntry: Add boxed type and constructor

This works for me - 

from gi.repository import Gtk
te = Gtk.TargetEntry.new('text/html', 0,0)
print(te.target)

'text/html'
Comment 4 Matthias Clasen 2010-10-15 11:53:35 UTC
Review of attachment 172306 [details] [review]:

Looks fine to me