diff options
author | Gaƫl Bonithon <gael@xfce.org> | 2021-08-17 16:31:09 +0200 |
---|---|---|
committer | Andre Miranda <andreldm@xfce.org> | 2021-11-10 21:26:56 +0000 |
commit | f38cb9b99c4634e4efdffc0e8e5282e4661f1939 (patch) | |
tree | b0bfa50401f45fd558b20d9bed0ea3c48aaeb5c7 /tumbler | |
parent | abb7a8b13bb13ed3a23a3951a37f5a8e03325d39 (diff) | |
download | tumbler-f38cb9b99c4634e4efdffc0e8e5282e4661f1939.tar.gz |
Remove TUMBLER_ADD_INTERFACE
G_IMPLEMENT_INTERFACE_DYNAMIC does the job since GLib 2.24.
Diffstat (limited to 'tumbler')
-rw-r--r-- | tumbler/Makefile.am | 1 | ||||
-rw-r--r-- | tumbler/tumbler-glib-extensions.h | 42 | ||||
-rw-r--r-- | tumbler/tumbler.h | 1 |
3 files changed, 0 insertions, 44 deletions
diff --git a/tumbler/Makefile.am b/tumbler/Makefile.am index 505db5e..8554e1b 100644 --- a/tumbler/Makefile.am +++ b/tumbler/Makefile.am @@ -35,7 +35,6 @@ libtumbler_headers = \ tumbler-enum-types.h \ tumbler-error.h \ tumbler-file-info.h \ - tumbler-glib-extensions.h \ tumbler-marshal.h \ tumbler-provider-factory.h \ tumbler-provider-plugin.h \ diff --git a/tumbler/tumbler-glib-extensions.h b/tumbler/tumbler-glib-extensions.h deleted file mode 100644 index 0b08aeb..0000000 --- a/tumbler/tumbler-glib-extensions.h +++ /dev/null @@ -1,42 +0,0 @@ -/* vi:set et ai sw=2 sts=2 ts=2: */ -/*- - * Copyright (c) 2009 Jannis Pohlmann <jannis@xfce.org> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library 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 Library General Public License for more details. - * - * You should have received a copy of the GNU Library General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#if !defined (TUMBLER_INSIDE_TUMBLER_H) && !defined (TUMBLER_COMPILATION) -#error "Only <tumbler/tumbler.h> may be included directly. This file might disappear or change contents." -#endif - -#ifndef __TUMBLER_GLIB_EXTENSIONS_H__ -#define __TUMBLER_GLIB_EXTENSIONS_H__ - -#include <glib-object.h> - -G_BEGIN_DECLS - -#define TUMBLER_ADD_INTERFACE(TYPE_IFACE, iface_init) \ -{ \ - static const GInterfaceInfo tumbler_add_interface_info = { \ - (GInterfaceInitFunc) iface_init, NULL, NULL \ - }; \ - g_type_module_add_interface (type_module, g_define_type_id, TYPE_IFACE, &tumbler_add_interface_info); \ -} - -G_END_DECLS - -#endif /* !__TUMBLER_GLIB_EXTENSIONS_H__ */ diff --git a/tumbler/tumbler.h b/tumbler/tumbler.h index 5bff523..bbed2c2 100644 --- a/tumbler/tumbler.h +++ b/tumbler/tumbler.h @@ -30,7 +30,6 @@ #include <tumbler/tumbler-enum-types.h> #include <tumbler/tumbler-error.h> #include <tumbler/tumbler-file-info.h> -#include <tumbler/tumbler-glib-extensions.h> #include <tumbler/tumbler-marshal.h> #include <tumbler/tumbler-provider-factory.h> #include <tumbler/tumbler-provider-plugin.h> |