print-gutenprint.c [plain text]
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <gutenprintui2/gutenprintui.h>
#include "print_gimp.h"
#include "print-intl.h"
void
do_gimp_install_procedure(const char *blurb, const char *help,
const char *auth, const char *copy,
const char *types, int n_args,
GimpParamDef *args)
{
gimp_install_procedure ((BAD_CONST_CHAR) "file_print_gutenprint",
(BAD_CONST_CHAR) blurb,
(BAD_CONST_CHAR) help,
(BAD_CONST_CHAR) auth,
(BAD_CONST_CHAR) copy,
(BAD_CONST_CHAR) VERSION " - " RELEASE_DATE,
#if (GIMP_MAJOR_VERSION > 2 || GIMP_MINOR_VERSION >= 2)
(BAD_CONST_CHAR) N_("_Print with Gutenprint..."),
#else
(BAD_CONST_CHAR) N_("<Image>/File/Print with Gutenprint..."),
#endif
(BAD_CONST_CHAR) types,
GIMP_PLUGIN,
n_args, 0,
args, NULL);
#if (GIMP_MAJOR_VERSION > 2 || GIMP_MINOR_VERSION >= 2)
gimp_plugin_menu_register ((BAD_CONST_CHAR) "file_print_gutenprint",
(BAD_CONST_CHAR) "<Image>/File/Send");
gimp_plugin_icon_register ((BAD_CONST_CHAR) "file_print_gutenprint",
GIMP_ICON_TYPE_STOCK_ID, GTK_STOCK_PRINT);
#endif
}