examples: don't put code with side-effects into g_assert()
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 16 Apr 2011 16:57:32 +0000 (17:57 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 16 Apr 2011 16:57:32 +0000 (17:57 +0100)
commit9e050481c2924f077f986653121f91bde5dac4df
tree955c3d53d8aae204d5515fbd4ffb402d6b3f4ecf
parentc2bc6327cd54b00467fd1ae6763b06de2b3aaab7
examples: don't put code with side-effects into g_assert()

Otherwise things won't work too well when compiling with
-DG_DISABLE_ASSERT (as we do for pre-releases and releases).
tests/examples/level/level-example.c