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 548026 - No accessor for GtkWidget.requisition
No accessor for GtkWidget.requisition
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.19.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 610462 (view as bug list)
Depends on:
Blocks: 597610
 
 
Reported: 2008-08-16 14:56 UTC by Torsten Schoenfeld
Modified: 2011-02-04 16:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Torsten Schoenfeld 2008-08-16 14:56:23 UTC
It looks like GtkWidget.requisition didn't get an accessor during the recent sealing.  Is this intentional?
Comment 1 Christian Dywan 2008-08-16 14:59:15 UTC
The sealing is not finished yet. There is still much to seal and that is going to be done in Gtk 2.16.

See http://live.gnome.org/GTK%2B/3.0/Tasks
Comment 2 Javier Jardón (IRC: jjardon) 2010-02-03 02:11:11 UTC
Is this really needed?

We have gtk_widget_size_request()
Comment 3 Michael Natterer 2010-02-19 15:16:03 UTC
*** Bug 610462 has been marked as a duplicate of this bug. ***
Comment 4 Michael Natterer 2010-02-19 15:17:14 UTC
Yes it is needed, not when 3rd party code wants to know the
widget's requisition, but in widget implementations itself.

Please have a look at the example in the dupplicate bug i just resolved.
Comment 5 Michael Natterer 2010-02-19 16:05:15 UTC
Fixed in master:

commit 347d406f80f2140a466da30764171cd92aa7d7ea
Author: Michael Natterer <mitch@gimp.org>
Date:   Fri Feb 19 17:04:20 2010 +0100

    Bug 548026 - No accessor for GtkWidget.requisition
    
    Add gtk_widget_get_requisition().

 gtk/gtk.symbols |    1 +
 gtk/gtkwidget.c |   26 ++++++++++++++++++++++++++
 gtk/gtkwidget.h |    3 +++
 3 files changed, 30 insertions(+), 0 deletions(-)