gimp r26999 - in trunk: . app/plug-in libgimp
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26999 - in trunk: . app/plug-in libgimp
- Date: Thu, 18 Sep 2008 16:25:39 +0000 (UTC)
Author: neo
Date: Thu Sep 18 16:25:39 2008
New Revision: 26999
URL: http://svn.gnome.org/viewvc/gimp?rev=26999&view=rev
Log:
2008-09-18 Sven Neumann <sven gimp org>
* app/plug-in/gimppluginprocedure.c
* libgimp/gimp.c: minor cleanups.
Modified:
trunk/ChangeLog
trunk/app/plug-in/gimppluginprocedure.c
trunk/libgimp/gimp.c
Modified: trunk/app/plug-in/gimppluginprocedure.c
==============================================================================
--- trunk/app/plug-in/gimppluginprocedure.c (original)
+++ trunk/app/plug-in/gimppluginprocedure.c Thu Sep 18 16:25:39 2008
@@ -67,7 +67,7 @@
GValueArray *args,
GimpObject *display);
-const gchar * gimp_plug_in_procedure_real_get_progname (const GimpPlugInProcedure *procedure);
+const gchar * gimp_plug_in_procedure_real_get_progname (const GimpPlugInProcedure *procedure);
G_DEFINE_TYPE (GimpPlugInProcedure, gimp_plug_in_procedure,
@@ -169,7 +169,7 @@
{
case GIMP_ICON_TYPE_STOCK_ID:
case GIMP_ICON_TYPE_IMAGE_FILE:
- memsize += gimp_string_get_memsize ((gchar *) proc->icon_data);
+ memsize += gimp_string_get_memsize ((const gchar *) proc->icon_data);
break;
case GIMP_ICON_TYPE_INLINE_PIXBUF:
Modified: trunk/libgimp/gimp.c
==============================================================================
--- trunk/libgimp/gimp.c (original)
+++ trunk/libgimp/gimp.c Thu Sep 18 16:25:39 2008
@@ -1893,8 +1893,7 @@
(* PLUG_IN_INFO.run_proc) (proc_run->name,
proc_run->nparams,
(GimpParam *) proc_run->params,
- &n_return_vals,
- &return_vals);
+ &n_return_vals, &return_vals);
proc_return.name = proc_run->name;
proc_return.nparams = n_return_vals;
@@ -1909,10 +1908,7 @@
static void
gimp_temp_proc_run (GPProcRun *proc_run)
{
- GimpRunProc run_proc;
-
- run_proc = (GimpRunProc) g_hash_table_lookup (temp_proc_ht,
- (gpointer) proc_run->name);
+ GimpRunProc run_proc = g_hash_table_lookup (temp_proc_ht, proc_run->name);
if (run_proc)
{
@@ -1922,9 +1918,8 @@
(* run_proc) (proc_run->name,
proc_run->nparams,
- (GimpParam*) proc_run->params,
- &n_return_vals,
- &return_vals);
+ (GimpParam *) proc_run->params,
+ &n_return_vals, &return_vals);
proc_return.name = proc_run->name;
proc_return.nparams = n_return_vals;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]