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 612509 - [GSEAL] Need accessor for GtkAccessible::widget
[GSEAL] Need accessor for GtkAccessible::widget
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 597610 612487 612490 615294 615398 615435 615613
 
 
Reported: 2010-03-10 22:54 UTC by Vincent Untz
Modified: 2010-04-14 12:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add gtk_accessible_get_widget() (1.70 KB, patch)
2010-03-10 23:04 UTC, Vincent Untz
committed Details | Review

Description Vincent Untz 2010-03-10 22:54:58 UTC
A GtkAccessible is associated to a GtkWidget. When subclassing GtkAccessible, you need to access the widget, but we're missing a gtk_accessible_get_widget() function.

This is needed in libwnck, but I can see that the gail code could also use it.
Comment 1 Vincent Untz 2010-03-10 23:04:13 UTC
Created attachment 155797 [details] [review]
Add gtk_accessible_get_widget()
Comment 2 Javier Jardón (IRC: jjardon) 2010-04-14 01:50:15 UTC
Comment on attachment 155797 [details] [review]
Add gtk_accessible_get_widget()

http://git.gnome.org/browse/gtk+/commit/?id=9b34203cb6b384448ba1f48c196c4af27ea56ddd
Comment 3 Javier Jardón (IRC: jjardon) 2010-04-14 01:50:54 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release.

Thanks Vincent!
Comment 4 André Klapper 2010-04-14 10:25:45 UTC
From http://git.gnome.org/browse/gtk+/commit/?id=9b34203cb6b384448ba1f48c196c4af27ea56ddd&h=gtk-2-20 :

> + * gtk_accessible_get_widget:
> + * Since: 2.22

Shouldn't this be 2.20.1 instead (and maybe same correct on master branch)?
Comment 5 Christian Dywan 2010-04-14 10:35:46 UTC
(In reply to comment #4)
> From
> http://git.gnome.org/browse/gtk+/commit/?id=9b34203cb6b384448ba1f48c196c4af27ea56ddd&h=gtk-2-20
> :
> 
> > + * gtk_accessible_get_widget:
> > + * Since: 2.22
> 
> Shouldn't this be 2.20.1 instead (and maybe same correct on master branch)?

No. The plan is to have a 2.22 which mainly has new accessors. In the last meeting it was decided against adding to stable because we still need something like 50 missing accessors.
Comment 6 André Klapper 2010-04-14 10:49:16 UTC
Okay - Why was it also committed to gtk-2-20 branch then? It's... "weird" to see this listed in the API reference of upcoming 2.20.1 saying "Since: 2.22".
Comment 7 Javier Jardón (IRC: jjardon) 2010-04-14 12:25:18 UTC
@Andre:
This was not committed to the gtk-2-20 branch, but in master instead.
Comment 8 André Klapper 2010-04-14 12:40:47 UTC
Oh, the web interface tricked me. Sorry for the noise.