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 98402 - gtk_widget_reparent(), etc, should take GtkContainer*
gtk_widget_reparent(), etc, should take GtkContainer*
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
2.1.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks: 97731
 
 
Reported: 2002-11-13 16:20 UTC by Murray Cumming
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Murray Cumming 2002-11-13 16:20:30 UTC
Functions such as
  gtk_widget_reparent()
  gtk_widget_set_parent()
  gtk_widget_get_parent()
  and possible others
use a GtkWidget* type for the parent, but should always be a GtkContainer*.
Using a GtkContainer* type would make the API slightly clearer.
Comment 1 Owen Taylor 2002-11-13 16:24:53 UTC
Not worth the incompatible API change, even for GTK+-3.0.
Comment 2 Matthew Tuck 2002-11-14 03:47:11 UTC
Is this the sort of mediocrity the GTK developers have come to accept?
Comment 3 Havoc Pennington 2002-11-14 03:57:02 UTC
Oh the humanity!