From 65371f53dbb06180b750dad7c19e7bcf0f8651d6 Mon Sep 17 00:00:00 2001 From: monsta Date: Sun, 6 Nov 2016 14:42:18 +0300 Subject: drop Python plugins support and --enable-python build option it requires PyGTK so won't even build with GTK+3 but keep plugins themselves for future porting to libpeas --- plugin-loaders/python/pluma-plugin-python.h | 88 ----------------------------- 1 file changed, 88 deletions(-) delete mode 100644 plugin-loaders/python/pluma-plugin-python.h (limited to 'plugin-loaders/python/pluma-plugin-python.h') diff --git a/plugin-loaders/python/pluma-plugin-python.h b/plugin-loaders/python/pluma-plugin-python.h deleted file mode 100644 index ad5341fb..00000000 --- a/plugin-loaders/python/pluma-plugin-python.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - * pluma-plugin-python.h - * This file is part of pluma - * - * Copyright (C) 2005 - Raphael Slinckx - * Copyright (C) 2008 - Jesse van den Kieboom - * - * 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 2 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, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#ifndef __PLUMA_PLUGIN_PYTHON_H__ -#define __PLUMA_PLUGIN_PYTHON_H__ - -#define NO_IMPORT_PYGOBJECT - -#include -#include - -#include - -G_BEGIN_DECLS - -/* - * Type checking and casting macros - */ -#define PLUMA_TYPE_PLUGIN_PYTHON (pluma_plugin_python_get_type()) -#define PLUMA_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PLUMA_TYPE_PLUGIN_PYTHON, PlumaPluginPython)) -#define PLUMA_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PLUMA_TYPE_PLUGIN_PYTHON, PlumaPluginPythonClass)) -#define PLUMA_IS_PLUGIN_PYTHON(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PLUMA_TYPE_PLUGIN_PYTHON)) -#define PLUMA_IS_PLUGIN_PYTHON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PLUMA_TYPE_PLUGIN_PYTHON)) -#define PLUMA_PLUGIN_PYTHON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PLUMA_TYPE_PLUGIN_PYTHON, PlumaPluginPythonClass)) - -/* Private structure type */ -typedef struct _PlumaPluginPythonPrivate PlumaPluginPythonPrivate; - -/* - * Main object structure - */ -typedef struct _PlumaPluginPython PlumaPluginPython; - -struct _PlumaPluginPython -{ - PlumaPlugin parent; - - /*< private > */ - PlumaPluginPythonPrivate *priv; -}; - -/* - * Class definition - */ -typedef struct _PlumaPluginPythonClass PlumaPluginPythonClass; - -struct _PlumaPluginPythonClass -{ - PlumaPluginClass parent_class; -}; - -/* - * Public methods - */ -GType pluma_plugin_python_get_type (void) G_GNUC_CONST; - - -/* - * Private methods - */ -void _pluma_plugin_python_set_instance (PlumaPluginPython *plugin, - PyObject *instance); -PyObject *_pluma_plugin_python_get_instance (PlumaPluginPython *plugin); - -G_END_DECLS - -#endif /* __PLUMA_PLUGIN_PYTHON_H__ */ - -- cgit v1.2.1