talkatu/talkatu

Modernize and simplify Meson files

18 months ago, Elliott Sales de Andrade
ad000db4fe9a
Modernize and simplify Meson files

Use f-strings and some better loops.

Remove `TALKATU_UNUSED` which duplicated `G_GNUC_UNUSED`, and is also unused.

Also remove checks for old Meson which I thought I looked for before, but didn't find.

Testing Done:
Compiled and ran `ninja test`

Reviewed at https://reviews.imfreedom.org/r/2038/
/*
* Talkatu - GTK widgets for chat applications
* Copyright (C) 2017-2020 Gary Kramlich <grim@reaperworld.com>
*
* This library 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 2 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this library; if not, see <https://www.gnu.org/licenses/>.
*/
#ifndef TALKATU_H
#define TALKATU_H
#ifndef __GI_SCANNER__
# ifdef TALKATU_COMPILATION
# error "talkatu sources should not include talkatu.h"
# endif /* TALKATU_COMPILATION */
#endif /* __GI_SCANNER__ */
#ifndef TALKATU_GLOBAL_HEADER_INSIDE
# define TALKATU_GLOBAL_HEADER_INSIDE
#endif /* TALKATU_GLOBAL_HEADER_INSIDE */
@TALKATU_H_INCLUDES@
#undef TALKATU_GLOBAL_HEADER_INSIDE
#endif /* TALKATU_H */