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 594960 - No accesor for GTK_VIEWPORT (widget)->bin_window
No accesor for GTK_VIEWPORT (widget)->bin_window
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.18.x
Other Linux
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 594957 597610
 
 
Reported: 2009-09-12 02:58 UTC by Javier Jardón (IRC: jjardon)
Modified: 2009-10-21 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Implement gtk_viewport_get_bin_window (1.47 KB, patch)
2009-09-17 16:55 UTC, Christian Dywan
committed Details | Review

Description Javier Jardón (IRC: jjardon) 2009-09-12 02:58:34 UTC
GTK_VIEWPORT (widget)->bin_window don't have an accesor.

Although, you can use: 

gtk_widget_get_parent_window (gtk_bin_get_child (GTK_BIN (widget)))

there already are gtk_tree_view_get_bin_window() and gtk_layout_get_bin_window() in GTK+ api.
Comment 1 Christian Dywan 2009-09-17 16:55:30 UTC
Created attachment 143379 [details] [review]
Implement gtk_viewport_get_bin_window
Comment 2 Matthias Clasen 2009-09-18 20:46:07 UTC
Since there is a workaround, this should probably wait until 2.19 opens, at this point.
Comment 3 Javier Jardón (IRC: jjardon) 2009-10-21 16:18:30 UTC
Comment on attachment 143379 [details] [review]
Implement gtk_viewport_get_bin_window

commit f5df4e05e2c5f6c5380890f651cd49eeba85e8be