All pastes #758047 Raw Edit

Something

public c v1 · immutable
·published 2007-11-01 21:14 UTC
rendered paste body
#include <glib.h>#include <glib/gi18n.h>#define PURPLE_PLUGINS#include "version.h"#include "pidgin.h"#include "gtkconv.h"#include "gtkplugin.h"#define SEND_BUTTON_PLUGIN_ID "gtk-send-button"static int something;static gbooleanplugin_load(PurplePlugin *plugin){	g_print("plugin_load: Entering\n");	return TRUE;}static gbooleanplugin_unload(PurplePlugin *plugin){	g_print("plugin_unload: Entering\n");	return TRUE;}static voidplugin_init(PurplePlugin *plugin){	g_print("plugin_init: Entering\n");}static PurplePluginInfo info ={	PURPLE_PLUGIN_MAGIC,	PURPLE_MAJOR_VERSION,	PURPLE_MINOR_VERSION,	PURPLE_PLUGIN_STANDARD,                             /**< type           */	PIDGIN_PLUGIN_TYPE,                             /**< ui_requirement */	0,                                                /**< flags          */	NULL,                                             /**< dependencies   */	PURPLE_PRIORITY_DEFAULT,                            /**< priority       */	SEND_BUTTON_PLUGIN_ID,                            /**< id             */	N_("Send Button"),                                /**< name           */	VERSION,                                          /**< version        */	                                                  /**  summary        */	N_("Adds a button you can click to send your message"),	                                                  /**  description    */	N_("Adds a button to the conversation window for sending messages when a physical keyboard is unavailable."),	"Gabriel Schulhof <nix@go-nix.ca>",               /**< author         */	"http://pidgin.garage.maemo.org/",                /**< homepage       */	plugin_load,                                      /**< load           */	plugin_unload,                                    /**< unload         */	NULL,                                             /**< destroy        */	NULL,                                             /**< ui_info        */	NULL,                                             /**< extra_info     */	NULL,	NULL,	/* padding */	NULL,	NULL,	NULL,	NULL};PURPLE_INIT_PLUGIN(something, plugin_init, info)