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 107161 - gtk_entry() should be get_entry(), with a const overload
gtk_entry() should be get_entry(), with a const overload
Status: RESOLVED FIXED
Product: libgnomeuimm
Classification: Other
Component: general
git master
Other other
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2003-02-27 01:19 UTC by Loban Rahman
Modified: 2011-01-16 23:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Loban Rahman 2003-02-27 01:19:40 UTC
Currently, calling
     Gnome::UI::Entry::gtk_entry()
returns a Gtk::Widget*.

It ought to return a Gtk::Entry*. Almost never would we not want to have a
Gtk::Entry* from that method, and having to dynamic_cast<Gtk::Entry*>() it
is a major pain.
Comment 1 Murray Cumming 2003-03-06 16:03:40 UTC
Added PATCH keyword because this is something we can fix easily,
though it would be nice if we really did have a patch.
Comment 2 ÉRDI Gergõ 2003-03-08 14:45:55 UTC
Fixed in CVS HEAD
Comment 3 Murray Cumming 2003-03-10 12:33:26 UTC
Actually this should probably be get_entry() and get_entry() const.
Comment 4 Murray Cumming 2003-03-15 10:24:43 UTC
Done.