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 153469 - Unneeded g_return_if_fail() in vfuncs
Unneeded g_return_if_fail() in vfuncs
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2004-09-22 18:59 UTC by Tristan Van Berkom
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
This is a trivial patch against unneeded assertions. (1.37 KB, patch)
2004-09-22 19:05 UTC, Tristan Van Berkom
none Details | Review

Description Tristan Van Berkom 2004-09-22 18:59:35 UTC
No steps to reproduce.
Comment 1 Tristan Van Berkom 2004-09-22 19:05:07 UTC
Created attachment 31845 [details] [review]
This is a trivial patch against unneeded assertions.

     This patch is against gtkbutton.c and gtkrange.c
which are the two sources that I noticed unneeded
g_return_if_fail calls, there could easily be more.
Comment 2 Matthias Clasen 2004-09-22 20:40:20 UTC
2004-09-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap): 
	* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
	unnecessary g_return_if_fail()s from virtual functions.  (#153469,
	(Tristan Van Berkom)