mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00: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",
|
g_print (" - %s:%*s%s\n",
|
||||||
test_unit_names[i],
|
test_unit_names[i],
|
||||||
(int) len - strlen (str), " ",
|
(int) (len - strlen (str)), " ",
|
||||||
str);
|
str);
|
||||||
|
|
||||||
g_free (str);
|
g_free (str);
|
||||||
|
@ -27,8 +27,13 @@ test_thread_data_new (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static 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->progress);
|
||||||
g_object_unref (data->label);
|
g_object_unref (data->label);
|
||||||
g_object_unref (data->stage);
|
g_object_unref (data->stage);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user