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 757607 - Suggest slight change to gtk_container_remove () documentation
Suggest slight change to gtk_container_remove () documentation
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Documentation
unspecified
Other All
: Normal enhancement
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-11-04 19:21 UTC by Craig McPartland
Modified: 2015-11-09 12:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Craig McPartland 2015-11-04 19:21:05 UTC
"If you want to use widget again, you need to add a reference to it while it’s  not inside a container, using g_object_ref()."
                                                                                
This is ambiguous. It suggests that a reference should be added after the widget has been removed from a container (while it's not inside a container). 
                                                                                
I suggest, "If you want to use widget again, you need to add a reference to it  before removing it from a container, using g_object_ref()."
Comment 1 Matthias Clasen 2015-11-09 12:46:48 UTC
I've made this change, thanks for the suggestion.