Silence -Werror for other clutter_init callers
This commit is contained in:
parent
c2d400846b
commit
bdebaa986b
@ -77,7 +77,8 @@ main(int argc, char **argv)
|
|||||||
clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
|
clutter_x11_set_display (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()));
|
||||||
clutter_x11_disable_event_retrieval ();
|
clutter_x11_disable_event_retrieval ();
|
||||||
|
|
||||||
clutter_init (&argc, &argv);
|
if (clutter_init (&argc, &argv) != CLUTTER_INIT_SUCCESS)
|
||||||
|
g_error ("failed to initialize Clutter");
|
||||||
|
|
||||||
gdk_window_add_filter (NULL, event_filter, NULL);
|
gdk_window_add_filter (NULL, event_filter, NULL);
|
||||||
|
|
||||||
|
@ -31,7 +31,8 @@ int main (int argc, char **argv)
|
|||||||
|
|
||||||
g_thread_init (NULL);
|
g_thread_init (NULL);
|
||||||
gst_init (&argc, &argv);
|
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 (&red, "red");
|
||||||
clutter_color_from_string (&green, "green");
|
clutter_color_from_string (&green, "green");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user