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 608153 - [csw] to-embedder and from-embedder signals are bad for language bindings
[csw] to-embedder and from-embedder signals are bad for language bindings
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: X11
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
csw
Depends on:
Blocks: 607393
 
 
Reported: 2010-01-26 13:27 UTC by John Stowers
Modified: 2018-02-10 04:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description John Stowers 2010-01-26 13:27:18 UTC
The GdkWindow::to-embedder [1] and GdkWindow::from-embedder [2] are impossible to bind for PyGTK to bind because they require returning two values via gpointers.

Possible solutions are discussed on bug 607393. It is regretful that a new boxed type was not created to hold the gdouble x,y variables and then the result returned via this.

[1] http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkWindow-to-embedder
[2] http://library.gnome.org/devel/gdk/unstable/gdk-Windows.html#GdkWindow-from-embedder
Comment 1 Gustavo Carneiro 2010-01-26 16:02:49 UTC
Clarification, the new type does not need to be "boxed type", it can remain a pointer, just not a G_TYPE_POINTER, a subtype:

http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#g-pointer-type-register-static
Comment 2 Matthias Clasen 2018-02-10 04:33:01 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.