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 90266 - the filled parameter in Gdk::Drawable::draw_rectangle should be a bool not an int
the filled parameter in Gdk::Drawable::draw_rectangle should be a bool not an...
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
2.0
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2002-08-08 23:11 UTC by Michael Koziarski
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Koziarski 2002-08-08 23:11:15 UTC
The current signature is

void draw_rectangle (const Glib::RefPtr<const GC>& gc, int filled, int x,
int y, int width, int height)

However int the gtk docs the filled parameter in gdk_draw_rectangle is the
same as gdk_draw_polygon

filled :TRUE if the rectangle should be filled.
Comment 1 Michael Koziarski 2002-08-08 23:17:21 UTC
Also applies to Gdk::Drawable::draw_arc
Comment 2 Murray Cumming 2002-08-09 20:04:27 UTC
Thanks.