mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
Fixed some trivial compiler warnings
* tests/interactive/test-pixmap.c (create_pixmap): Use a format string instead of passing the error message directly to g_error. * tests/interactive/test-easing.c (test_easing_main) (on_button_press): * tests/interactive/test-animation.c (on_button_press): Use unsigned variables for the results from clutter_actor_get_size otherwise it complains about the pointer signedness being different. * clutter/clutter-script.c (clutter_script_add_search_paths): Use G_GSIZE_FORMAT instead of %d for a gsize parameter otherwise it gets upset on 64-bit.
This commit is contained in:
@ -22,7 +22,7 @@ on_button_press (ClutterActor *actor,
|
||||
{
|
||||
ClutterAnimation *animation;
|
||||
gint old_x, old_y, new_x, new_y;
|
||||
gint old_width, old_height, new_width, new_height;
|
||||
guint old_width, old_height, new_width, new_height;
|
||||
guint8 old_op, new_op;
|
||||
|
||||
clutter_actor_get_position (actor, &old_x, &old_y);
|
||||
|
Reference in New Issue
Block a user