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 526742 - Gtk::Widget::get_direction should be const
Gtk::Widget::get_direction should be const
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.4
Other All
: Normal enhancement
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-04-07 15:52 UTC by Andreas Klaedtke
Modified: 2008-04-11 20:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
A proposed patch for gtkmm (1.04 KB, patch)
2008-04-07 15:54 UTC, Andreas Klaedtke
none Details | Review

Description Andreas Klaedtke 2008-04-07 15:52:36 UTC
Add a get_direction () const function to Gtk::Widget.
Comment 1 Andreas Klaedtke 2008-04-07 15:54:13 UTC
Created attachment 108788 [details] [review]
A proposed patch for gtkmm

Added the const version of get_direction to Gtk::Widget and updated the ChangeLog
Comment 2 Murray Cumming 2008-04-11 20:47:59 UTC
Committed to svn trunk. Thanks. I also used the (little known) deprecated option with the _WRAP_METHOD() for the non-const version.

In case this is a problem for you with the stable gtkmm, remember that you can use const_cast<> to work around it.