Bug 792744 - Gimp crashes attempting to merge down a hidden layer.
Don't use g_assert(). Instead use g_return_val_if_fail(). This commit therefore does not fix the actual bug, but at least it does not crash. GIMP simply outputs a warning upon trying to merge down a hidden layer. The actual fix will follow later.
Showing with 8 additions and 8 deletions