Commit 1804a802 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

plug-ins/common/curve_bend.c plug-ins/common/plugindetails.c

2000-06-13  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/curve_bend.c
	* plug-ins/common/plugindetails.c
	* plug-ins/gap/gap_dbbrowser_utils.h
	* plug-ins/gap/gap_filter_codegen.c
	* plug-ins/gap/gap_pdb_calls.c
	* plug-ins/maze/maze_face.c
	* plug-ins/xjt/xpdb_calls.c: fixed compiler warnings
	introduced by our latest libgimp changes.
parent c9c94b2a
2000-06-13 Sven Neumann <sven@gimp.org>
* plug-ins/common/curve_bend.c
* plug-ins/common/plugindetails.c
* plug-ins/gap/gap_dbbrowser_utils.h
* plug-ins/gap/gap_filter_codegen.c
* plug-ins/gap/gap_pdb_calls.c
* plug-ins/maze/maze_face.c
* plug-ins/xjt/xpdb_calls.c: fixed compiler warnings
introduced by our latest libgimp changes.
2000-06-13 Sven Neumann <sven@gimp.org>
 
Moved various files from the docs directory to
......
......@@ -376,16 +376,16 @@ int gb_debug = FALSE;
gint
p_pdb_procedure_available (char *proc_name)
{
int l_nparams;
int l_nreturn_vals;
int l_proc_type;
char *l_proc_blurb;
char *l_proc_help;
char *l_proc_author;
char *l_proc_copyright;
char *l_proc_date;
GParamDef *l_params;
GParamDef *l_return_vals;
gint l_nparams;
gint l_nreturn_vals;
GimpPDBProcType l_proc_type;
gchar *l_proc_blurb;
gchar *l_proc_help;
gchar *l_proc_author;
gchar *l_proc_copyright;
gchar *l_proc_date;
GimpParamDef *l_params;
GimpParamDef *l_return_vals;
gint l_rc;
l_rc = 0;
......@@ -393,17 +393,17 @@ p_pdb_procedure_available (char *proc_name)
/* Query the gimp application's procedural database
* regarding a particular procedure.
*/
if(gimp_query_procedure (proc_name,
&l_proc_blurb,
&l_proc_help,
&l_proc_author,
&l_proc_copyright,
&l_proc_date,
&l_proc_type,
&l_nparams,
&l_nreturn_vals,
&l_params,
&l_return_vals))
if (gimp_query_procedure (proc_name,
&l_proc_blurb,
&l_proc_help,
&l_proc_author,
&l_proc_copyright,
&l_proc_date,
&l_proc_type,
&l_nparams,
&l_nreturn_vals,
&l_params,
&l_return_vals))
{
/* procedure found in PDB */
return (l_nparams);
......
......@@ -252,16 +252,16 @@ static gint
procedure_general_select_callback (PDesc *pdesc,
PInfo *pinfo)
{
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
gint selected_proc_type;
gint selected_nparams;
gint selected_nreturn_vals;
GParamDef *selected_params;
GParamDef *selected_return_vals;
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
GimpPDBProcType selected_proc_type;
gint selected_nparams;
gint selected_nreturn_vals;
GimpParamDef *selected_params;
GimpParamDef *selected_return_vals;
GtkWidget *label;
GtkWidget *help;
GtkWidget *text;
......
......@@ -252,16 +252,16 @@ static gint
procedure_general_select_callback (PDesc *pdesc,
PInfo *pinfo)
{
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
gint selected_proc_type;
gint selected_nparams;
gint selected_nreturn_vals;
GParamDef *selected_params;
GParamDef *selected_return_vals;
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
GimpPDBProcType selected_proc_type;
gint selected_nparams;
gint selected_nreturn_vals;
GimpParamDef *selected_params;
GimpParamDef *selected_return_vals;
GtkWidget *label;
GtkWidget *help;
GtkWidget *text;
......
......@@ -252,16 +252,16 @@ static gint
procedure_general_select_callback (PDesc *pdesc,
PInfo *pinfo)
{
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
gint selected_proc_type;
gint selected_nparams;
gint selected_nreturn_vals;
GParamDef *selected_params;
GParamDef *selected_return_vals;
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
GimpPDBProcType selected_proc_type;
gint selected_nparams;
gint selected_nreturn_vals;
GimpParamDef *selected_params;
GimpParamDef *selected_return_vals;
GtkWidget *label;
GtkWidget *help;
GtkWidget *text;
......
......@@ -68,18 +68,18 @@ typedef struct {
GtkWidget* scrolled_win;
/* the currently selected procedure */
gchar *selected_proc_name;
gchar *selected_scheme_proc_name;
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
int selected_proc_type;
int selected_nparams;
int selected_nreturn_vals;
GParamDef *selected_params;
GParamDef *selected_return_vals;
gchar *selected_proc_name;
gchar *selected_scheme_proc_name;
gchar *selected_proc_blurb;
gchar *selected_proc_help;
gchar *selected_proc_author;
gchar *selected_proc_copyright;
gchar *selected_proc_date;
GimpPDBProcType selected_proc_type;
gint selected_nparams;
gint selected_nreturn_vals;
GimpParamDef *selected_params;
GimpParamDef *selected_return_vals;
t_constraint_func constraint_func;
t_constraint_func constraint_func_sel1;
......
......@@ -148,25 +148,25 @@ p_clean_name(char *name, char *clean_name)
gint p_gen_code_iter_ALT(char *proc_name)
{
FILE *l_fp;
int l_idx;
FILE *l_fp;
gint l_idx;
int l_nparams;
int l_nreturn_vals;
int l_proc_type;
char *l_proc_blurb;
char *l_proc_help;
char *l_proc_author;
char *l_proc_copyright;
char *l_proc_date;
GParamDef *l_params;
GParamDef *l_return_vals;
gint l_rc;
gint l_nparams;
gint l_nreturn_vals;
GimpPDBProcType l_proc_type;
gchar *l_proc_blurb;
gchar *l_proc_help;
gchar *l_proc_author;
gchar *l_proc_copyright;
gchar *l_proc_date;
GimpParamDef *l_params;
GimpParamDef *l_return_vals;
gint l_rc;
char l_filename[512];
char l_gendate[30];
char l_clean_proc_name[256];
char l_clean_par_name[256];
gchar l_filename[512];
gchar l_gendate[30];
gchar l_clean_proc_name[256];
gchar l_clean_par_name[256];
l_rc = 0;
......@@ -341,25 +341,25 @@ gint p_gen_tab_iter_ALT(char *proc_name)
*/
gint p_gen_code_iter(char *proc_name)
{
FILE *l_fp;
int l_idx;
FILE *l_fp;
gint l_idx;
int l_nparams;
int l_nreturn_vals;
int l_proc_type;
char *l_proc_blurb;
char *l_proc_help;
char *l_proc_author;
char *l_proc_copyright;
char *l_proc_date;
GParamDef *l_params;
GParamDef *l_return_vals;
gint l_rc;
gint l_nparams;
gint l_nreturn_vals;
GimpPDBProcType l_proc_type;
gchar *l_proc_blurb;
gchar *l_proc_help;
gchar *l_proc_author;
gchar *l_proc_copyright;
gchar *l_proc_date;
GimpParamDef *l_params;
GimpParamDef *l_return_vals;
gint l_rc;
char l_filename[512];
char l_gendate[30];
char l_clean_proc_name[256];
char l_clean_par_name[256];
gchar l_filename[512];
gchar l_gendate[30];
gchar l_clean_proc_name[256];
gchar l_clean_par_name[256];
l_rc = 0;
p_get_gendate(&l_gendate[0]);
......
......@@ -61,16 +61,16 @@ gint p_pdb_procedure_available(char *proc_name)
* if not available FALSE is returned.
*/
int l_nparams;
int l_nreturn_vals;
int l_proc_type;
char *l_proc_blurb;
char *l_proc_help;
char *l_proc_author;
char *l_proc_copyright;
char *l_proc_date;
GParamDef *l_params;
GParamDef *l_return_vals;
gint l_nparams;
gint l_nreturn_vals;
GimpPDBProcType l_proc_type;
gchar *l_proc_blurb;
gchar *l_proc_help;
gchar *l_proc_author;
gchar *l_proc_copyright;
gchar *l_proc_date;
GimpParamDef *l_params;
GimpParamDef *l_return_vals;
gint l_rc;
l_rc = 0;
......
......@@ -572,10 +572,18 @@ static void
maze_help (GtkWidget *widget,
gpointer foo)
{
gchar *proc_blurb, *proc_help, *proc_author, *proc_copyright, *proc_date;
gint proc_type, nparams, nreturn_vals;
GParamDef *params, *return_vals;
gint baz;
gchar *proc_blurb;
gchar *proc_help;
gchar *proc_author;
gchar *proc_copyright;
gchar *proc_date;
GimpPDBProcType proc_type;
gint nparams;
gint nreturn_vals;
GimpParamDef *params;
GimpParamDef *return_vals;
gint baz;
gchar *message;
if (gimp_query_procedure ("extension_web_browser",
......
......@@ -57,8 +57,8 @@ extern gint xjt_debug;
gint p_procedure_available(gchar *proc_name)
{
int l_nparams;
int l_nreturn_vals;
gint l_nparams;
gint l_nreturn_vals;
GimpPDBProcType l_proc_type;
gchar *l_proc_blurb;
gchar *l_proc_help;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment