mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
tests: Fix some compiler warnings
This commit is contained in:
parent
9e61cfcf38
commit
9901a06a1f
@ -139,7 +139,7 @@ main (int argc, char **argv)
|
||||
|
||||
g_print (" - %s:%*s%s\n",
|
||||
test_unit_names[i],
|
||||
(int) len - strlen (str), " ",
|
||||
(int) (len - strlen (str)), " ",
|
||||
str);
|
||||
|
||||
g_free (str);
|
||||
|
@ -27,8 +27,13 @@ test_thread_data_new (void)
|
||||
}
|
||||
|
||||
static void
|
||||
test_thread_data_free (TestThreadData *data)
|
||||
test_thread_data_free (gpointer _data)
|
||||
{
|
||||
TestThreadData *data = _data;
|
||||
|
||||
if (data == NULL)
|
||||
return;
|
||||
|
||||
g_object_unref (data->progress);
|
||||
g_object_unref (data->label);
|
||||
g_object_unref (data->stage);
|
||||
|
Loading…
Reference in New Issue
Block a user