GNOME Bugzilla – Bug 677363
grid: Add missing guard to gtk_grid_get_child_at()
Last modified: 2012-06-04 14:48:30 UTC
Add missing guard to make sure it's called with a GtkGrid argument.
Created attachment 215515 [details] [review] grid: Add missing guard to gtk_grid_get_child_at()
Created attachment 215516 [details] [review] grid: Fix access to grid->priv member The priv member should be accessed after the g_return_if_fail test
Review of attachment 215515 [details] [review]: looks good
Review of attachment 215516 [details] [review]: looks good
Attachment 215515 [details] pushed as 4fee1aa - grid: Add missing guard to gtk_grid_get_child_at() Attachment 215516 [details] pushed as b0ea458 - grid: Fix access to grid->priv member
not a big deal, but I will say that I just copying the pointer is not a problem. We're not dereferencing priv before the return_if_fail...