Commit 1a81eba1 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

made the GimpParamDef parameter in gimp_proc_view_new() const.

2008-09-04  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocview.[ch]: made the GimpParamDef parameter in
	gimp_proc_view_new() const.


svn path=/trunk/; revision=26858
parent 6570d5d1
2008-09-04 Sven Neumann <sven@gimp.org>
* libgimp/gimpprocview.[ch]: made the GimpParamDef parameter in
gimp_proc_view_new() const.
2008-09-04 Michael Natterer <mitch@gimp.org>
* tools/gimptool.c: add tons of const.
......
......@@ -44,7 +44,7 @@
/* local function prototypes */
static GtkWidget * gimp_proc_view_create_params (GimpParamDef *params,
static GtkWidget * gimp_proc_view_create_params (const GimpParamDef *params,
gint n_params,
GtkSizeGroup *name_group,
GtkSizeGroup *type_group,
......@@ -64,8 +64,8 @@ gimp_proc_view_new (const gchar *name,
GimpPDBProcType type,
gint n_params,
gint n_return_vals,
GimpParamDef *params,
GimpParamDef *return_vals)
const GimpParamDef *params,
const GimpParamDef *return_vals)
{
GtkWidget *main_vbox;
GtkWidget *frame;
......@@ -241,7 +241,7 @@ gimp_proc_view_new (const gchar *name,
/* private functions */
static GtkWidget *
gimp_proc_view_create_params (GimpParamDef *params,
gimp_proc_view_create_params (const GimpParamDef *params,
gint n_params,
GtkSizeGroup *name_group,
GtkSizeGroup *type_group,
......
......@@ -38,8 +38,8 @@ GtkWidget * gimp_proc_view_new (const gchar *name,
GimpPDBProcType type,
gint n_params,
gint n_return_vals,
GimpParamDef *params,
GimpParamDef *return_vals);
const GimpParamDef *params,
const GimpParamDef *return_vals);
G_END_DECLS
......
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