gimp r26858 - in trunk: . libgimp



Author: neo
Date: Thu Sep  4 12:23:36 2008
New Revision: 26858
URL: http://svn.gnome.org/viewvc/gimp?rev=26858&view=rev

Log:
2008-09-04  Sven Neumann  <sven gimp org>

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



Modified:
   trunk/ChangeLog
   trunk/libgimp/gimpprocview.c
   trunk/libgimp/gimpprocview.h

Modified: trunk/libgimp/gimpprocview.c
==============================================================================
--- trunk/libgimp/gimpprocview.c	(original)
+++ trunk/libgimp/gimpprocview.c	Thu Sep  4 12:23:36 2008
@@ -44,28 +44,28 @@
 
 /*  local function prototypes  */
 
-static GtkWidget * gimp_proc_view_create_params (GimpParamDef *params,
-                                                 gint          n_params,
-                                                 GtkSizeGroup *name_group,
-                                                 GtkSizeGroup *type_group,
-                                                 GtkSizeGroup *desc_group);
+static GtkWidget * gimp_proc_view_create_params (const GimpParamDef *params,
+                                                 gint                n_params,
+                                                 GtkSizeGroup       *name_group,
+                                                 GtkSizeGroup       *type_group,
+                                                 GtkSizeGroup       *desc_group);
 
 
 /*  public functions  */
 
 GtkWidget *
-gimp_proc_view_new (const gchar     *name,
-                    const gchar     *menu_path,
-                    const gchar     *blurb,
-                    const gchar     *help,
-                    const gchar     *author,
-                    const gchar     *copyright,
-                    const gchar     *date,
-                    GimpPDBProcType  type,
-                    gint             n_params,
-                    gint             n_return_vals,
-                    GimpParamDef    *params,
-                    GimpParamDef    *return_vals)
+gimp_proc_view_new (const gchar        *name,
+                    const gchar        *menu_path,
+                    const gchar        *blurb,
+                    const gchar        *help,
+                    const gchar        *author,
+                    const gchar        *copyright,
+                    const gchar        *date,
+                    GimpPDBProcType     type,
+                    gint                n_params,
+                    gint                n_return_vals,
+                    const GimpParamDef *params,
+                    const GimpParamDef *return_vals)
 {
   GtkWidget    *main_vbox;
   GtkWidget    *frame;
@@ -241,11 +241,11 @@
 /*  private functions  */
 
 static GtkWidget *
-gimp_proc_view_create_params (GimpParamDef *params,
-                              gint          n_params,
-                              GtkSizeGroup *name_group,
-                              GtkSizeGroup *type_group,
-                              GtkSizeGroup *desc_group)
+gimp_proc_view_create_params (const GimpParamDef *params,
+                              gint                n_params,
+                              GtkSizeGroup       *name_group,
+                              GtkSizeGroup       *type_group,
+                              GtkSizeGroup       *desc_group)
 {
   GtkWidget *table;
   gint       i;

Modified: trunk/libgimp/gimpprocview.h
==============================================================================
--- trunk/libgimp/gimpprocview.h	(original)
+++ trunk/libgimp/gimpprocview.h	Thu Sep  4 12:23:36 2008
@@ -28,18 +28,18 @@
 /* For information look into the C source or the html documentation */
 
 
-GtkWidget * gimp_proc_view_new (const gchar     *name,
-                                const gchar     *menu_path,
-                                const gchar     *blurb,
-                                const gchar     *help,
-                                const gchar     *author,
-                                const gchar     *copyright,
-                                const gchar     *date,
-                                GimpPDBProcType  type,
-                                gint             n_params,
-                                gint             n_return_vals,
-                                GimpParamDef    *params,
-                                GimpParamDef    *return_vals);
+GtkWidget * gimp_proc_view_new (const gchar        *name,
+                                const gchar        *menu_path,
+                                const gchar        *blurb,
+                                const gchar        *help,
+                                const gchar        *author,
+                                const gchar        *copyright,
+                                const gchar        *date,
+                                GimpPDBProcType     type,
+                                gint                n_params,
+                                gint                n_return_vals,
+                                const GimpParamDef *params,
+                                const GimpParamDef *return_vals);
 
 
 G_END_DECLS



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]