|
From: Kouhei S. <nul...@cl...> - 2013-11-05 12:13:07
|
Kouhei Sutou 2013-11-05 21:12:50 +0900 (Tue, 05 Nov 2013) New Revision: 27ab6c3493d59a58361038407f3db92796bdebb0 https://github.com/clear-code/cutter/commit/27ab6c3493d59a58361038407f3db92796bdebb0 Message: test: suppress depreated warnings test-cut-pipeline.c: In function 'cut_startup': test-cut-pipeline.c:39:5: warning: implicit declaration of function 'g_mutex_new' [-Wimplicit-function-declaration] fixture_mutex = g_mutex_new(); ^ test-cut-pipeline.c:39:19: warning: assignment makes pointer from integer without a cast [enabled by default] fixture_mutex = g_mutex_new(); ^ test-cut-pipeline.c:40:15: warning: assignment makes pointer from integer without a cast [enabled by default] run_mutex = g_mutex_new(); ^ test-cut-pipeline.c: In function 'cut_shutdown': test-cut-pipeline.c:46:5: warning: implicit declaration of function 'g_mutex_free' [-Wimplicit-function-declaration] g_mutex_free(run_mutex); ^ Modified files: test/cutter/test-cut-pipeline.c Modified: test/cutter/test-cut-pipeline.c (+18 -0) =================================================================== --- test/cutter/test-cut-pipeline.c 2013-11-05 21:10:37 +0900 (951d4c2) +++ test/cutter/test-cut-pipeline.c 2013-11-05 21:12:50 +0900 (4d67e63) @@ -1,4 +1,21 @@ /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * Copyright (C) 2008-2013 Kouhei Sutou <ko...@cl...> + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ #ifdef HAVE_CONFIG_H # include <config.h> @@ -8,6 +25,7 @@ #include <gcutter.h> #include <cutter/cut-pipeline.h> #include <cutter/cut-runner.h> +#include <cutter/cut-glib-compatible.h> #include "../lib/cuttest-assertions.h" |