conform: Fix actor-shader-effect

The porting to the ::after-paint signal was missing the boolean flag
passed as a user data.
This commit is contained in:
Emmanuele Bassi 2014-07-24 00:11:30 +01:00
parent 0c0c069b3f
commit d33d2d1f47

View File

@ -272,7 +272,8 @@ actor_shader_effect (void)
was_painted = FALSE;
g_signal_connect (stage, "after-paint",
G_CALLBACK (paint_cb), NULL);
G_CALLBACK (paint_cb),
&was_painted);
while (!was_painted)
g_main_context_iteration (NULL, FALSE);