eds: Silence some compile time warnings

parent 38c69373
/* gtd-task-list-eds.h
*
* Copyright (C) 2015 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
* Copyright (C) 2015-2020 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -18,7 +18,7 @@
#pragma once
#include <libedataserver/libedataserver.h>
#include "gtd-eds.h"
G_BEGIN_DECLS
......
/* gtd-eds-autoptr.h
*
* Copyright 2018 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
* Copyright 2018-2020 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -20,7 +20,7 @@
#pragma once
#include <libecal/libecal.h>
#include "gtd-eds.h"
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECalComponent, g_object_unref);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ECalComponentId, e_cal_component_id_free);
......
/* gtd-eds.h
*
* Copyright 2020 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <glib.h>
#define HANDLE_LIBICAL_MEMORY
#define EDS_DISABLE_DEPRECATED
G_GNUC_BEGIN_IGNORE_DEPRECATIONS
#include <libecal/libecal.h>
#include <libedataserver/libedataserver.h>
G_GNUC_END_IGNORE_DEPRECATIONS
......@@ -20,8 +20,9 @@
#include "gnome-todo.h"
#include "gtd-eds.h"
#include <glib.h>
#include <libecal/libecal.h>
G_BEGIN_DECLS
......
/* gtd-provider-local.h
*
* Copyright (C) 2015 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
* Copyright (C) 2015-2020 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -24,8 +24,6 @@
#include <glib.h>
#include <libecal/libecal.h>
G_BEGIN_DECLS
#define GTD_TYPE_PROVIDER_LOCAL (gtd_provider_local_get_type())
......
/* gtd-task-eds.h
*
* Copyright (C) 2017 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
* Copyright (C) 2017-2020 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -21,7 +21,7 @@
#include "gnome-todo.h"
#include <libecal/libecal.h>
#include "gtd-eds.h"
G_BEGIN_DECLS
......
/* gtd-task-list-eds.h
*
* Copyright (C) 2015 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
* Copyright (C) 2015-2020 Georges Basile Stavracas Neto <georges.stavracas@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -21,8 +21,9 @@
#include "gnome-todo.h"
#include "gtd-eds.h"
#include <glib-object.h>
#include <libecal/libecal.h>
G_BEGIN_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment