Silence -Werror for other clutter_init callers

This commit is contained in:
Colin Walters
2011-03-13 14:16:54 -04:00
parent c2d400846b
commit bdebaa986b
2 changed files with 4 additions and 2 deletions

View File

@ -31,7 +31,8 @@ int main (int argc, char **argv)
g_thread_init (NULL);
gst_init (&argc, &argv);
clutter_init (&argc, &argv);
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
g_error ("failed to initialize Clutter");
clutter_color_from_string (&red, "red");
clutter_color_from_string (&green, "green");