diff options
author | monsta <[email protected]> | 2016-11-06 14:42:18 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-11-06 14:42:18 +0300 |
commit | 65371f53dbb06180b750dad7c19e7bcf0f8651d6 (patch) | |
tree | 0b387d0a17207e13ce662da55970c97b50bc55db /plugin-loaders/python/pluma-plugin-python.h | |
parent | 7dd02941b3647477dfe0cf8177c2eeff8bfe7b84 (diff) | |
download | pluma-65371f53dbb06180b750dad7c19e7bcf0f8651d6.tar.bz2 pluma-65371f53dbb06180b750dad7c19e7bcf0f8651d6.tar.xz |
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
Diffstat (limited to 'plugin-loaders/python/pluma-plugin-python.h')
-rw-r--r-- | plugin-loaders/python/pluma-plugin-python.h | 88 |
1 files changed, 0 insertions, 88 deletions
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 <glib-object.h> -#include <pygobject.h> - -#include <pluma/pluma-plugin.h> - -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__ */ - |