GNOME Bugzilla – Bug 694955
Use GD_IS_ macros to validate input in public API
Last modified: 2013-03-01 21:35:08 UTC
Some of the public API (mostly GdStack) checks for NULL instead of using the GD_IS_ macros. This patch adds use of GD_IS_ macros in public API where before the object was checked simply against NULL.
Created attachment 237742 [details] [review] Use GD_IS_ macros to validate input in public API
Review of attachment 237742 [details] [review]: Thanks, feel free to commit with this fixed. ::: libgd/gd-revealer.c @@ +738,3 @@ gint value) { + g_return_if_fail (GD_REVEALER (revealer)); GD_IS_REVEALER
Argh, lame mistake! Pushed with the fix, thanks!