diff -r 1af60f2ac6b6 -r e34d79e34f9f pidgin/gtkplugin.h --- a/pidgin/gtkplugin.h Mon Nov 11 22:20:27 2019 -0600 +++ b/pidgin/gtkplugin.h Tue Nov 12 01:34:57 2019 -0600 @@ -31,75 +31,11 @@ #include "pidgin.h" #include "plugins.h" -#define PIDGIN_TYPE_PLUGIN_INFO (pidgin_plugin_info_get_type()) -#define PIDGIN_PLUGIN_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), PIDGIN_TYPE_PLUGIN_INFO, PidginPluginInfo)) -#define PIDGIN_PLUGIN_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), PIDGIN_TYPE_PLUGIN_INFO, PidginPluginInfoClass)) -#define PIDGIN_IS_PLUGIN_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), PIDGIN_TYPE_PLUGIN_INFO)) -#define PIDGIN_IS_PLUGIN_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), PIDGIN_TYPE_PLUGIN_INFO)) -#define PIDGIN_PLUGIN_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PIDGIN_TYPE_PLUGIN_INFO, PidginPluginInfoClass)) - -typedef struct _PidginPluginInfo PidginPluginInfo; -typedef struct _PidginPluginInfoClass PidginPluginInfoClass; - -typedef GtkWidget *(*PidginPluginConfigFrameCb)(PurplePlugin *plugin); - -/** - * PidginPluginInfo: - * - * Extends #PurplePluginInfo to hold UI information for pidgin. - */ -struct _PidginPluginInfo { - PurplePluginInfo parent; -}; - -/** - * PidginPluginInfoClass: - * - * The base class for all #PidginPluginInfo's. - */ -struct _PidginPluginInfoClass { - PurplePluginInfoClass parent_class; - - /*< private >*/ - void (*_pidgin_reserved1)(void); - void (*_pidgin_reserved2)(void); - void (*_pidgin_reserved3)(void); - void (*_pidgin_reserved4)(void); -}; +#include "pidginplugininfo.h" G_BEGIN_DECLS /** - * pidgin_plugin_info_get_type: - * - * Returns: The #GType for the #PidginPluginInfo object. - */ -GType pidgin_plugin_info_get_type(void); - -/** - * pidgin_plugin_info_new: - * @first_property: The first property name - * @...: The value of the first property, followed optionally by more - * name/value pairs, followed by %NULL - * - * Creates a new #PidginPluginInfo instance to be returned from - * #plugin_query of a pidgin plugin, using the provided name/value - * pairs. - * - * See purple_plugin_info_new() for a list of available property names. - * Additionally, you can provide the property - * "gtk-config-frame-cb", which should be a callback that - * returns a #GtkWidget for the plugin's configuration - * (see #PidginPluginConfigFrameCb). - * - * See purple_plugin_info_new(). - * - * Returns: A new #PidginPluginInfo instance. - */ -PidginPluginInfo *pidgin_plugin_info_new(const char *first_property, ...) - G_GNUC_NULL_TERMINATED; - -/** * pidgin_plugins_save: * * Saves all loaded plugins.