1998-05-01 07:42:31 +08:00
|
|
|
/****************************************************************************
|
2007-06-06 16:44:52 +08:00
|
|
|
* This is a plugin for GIMP v 0.99.8 or later. Documentation is
|
1998-05-01 07:42:31 +08:00
|
|
|
* available at http://www.rru.com/~meo/gimp/ .
|
|
|
|
*
|
1998-07-03 02:06:30 +08:00
|
|
|
* Copyright (C) 1997-98 Miles O'Neal <meo@rru.com> http://www.rru.com/~meo/
|
1998-05-01 07:42:31 +08:00
|
|
|
* Blur code Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
* GUI based on GTK code from:
|
|
|
|
* alienmap (Copyright (C) 1996, 1997 Daniel Cotting)
|
|
|
|
* plasma (Copyright (C) 1996 Stephen Norris),
|
|
|
|
* oilify (Copyright (C) 1996 Torsten Martinsen),
|
|
|
|
* ripple (Copyright (C) 1997 Brian Degenhardt) and
|
|
|
|
* whirl (Copyright (C) 1997 Federico Mena Quintero).
|
1997-11-25 06:05:25 +08:00
|
|
|
*
|
2009-01-18 06:28:01 +08:00
|
|
|
* This program is free software: you can redistribute it and/or modify
|
1997-11-25 06:05:25 +08:00
|
|
|
* it under the terms of the GNU General Public License as published by
|
2009-01-18 06:28:01 +08:00
|
|
|
* the Free Software Foundation; either version 3 of the License, or
|
1997-11-25 06:05:25 +08:00
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
2009-01-18 06:28:01 +08:00
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
1998-05-01 07:42:31 +08:00
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
* Blur:
|
|
|
|
*
|
2004-06-16 23:40:56 +08:00
|
|
|
* blur version 2.1 (10 June 2004 WES)
|
1998-05-01 07:42:31 +08:00
|
|
|
* history
|
2004-06-16 23:40:56 +08:00
|
|
|
* 2.1 - 10 June 2004 WES
|
|
|
|
* removed dialog along with randomization and repeat options
|
1998-07-03 02:06:30 +08:00
|
|
|
* 2.0 - 1 May 1998 MEO
|
|
|
|
* based on randomize 1.7
|
1998-05-01 07:42:31 +08:00
|
|
|
*
|
|
|
|
* Please send any patches or suggestions to the author: meo@rru.com .
|
2003-11-06 23:27:05 +08:00
|
|
|
*
|
1998-05-01 07:42:31 +08:00
|
|
|
* Blur applies a 3x3 blurring convolution kernel to the specified drawable.
|
2003-11-06 23:27:05 +08:00
|
|
|
*
|
1998-05-01 07:42:31 +08:00
|
|
|
* For each pixel in the selection or image,
|
|
|
|
* whether to change the pixel is decided by picking a
|
|
|
|
* random number, weighted by the user's "randomization" percentage.
|
|
|
|
* If the random number is in range, the pixel is modified. For
|
|
|
|
* blurring, an average is determined from the current and adjacent
|
|
|
|
* pixels. *(Except for the random factor, the blur code came
|
|
|
|
* straight from the original S&P blur plug-in.)*
|
2003-11-06 23:27:05 +08:00
|
|
|
*
|
1998-05-01 07:42:31 +08:00
|
|
|
* This works only with RGB and grayscale images.
|
2003-11-06 23:27:05 +08:00
|
|
|
*
|
1998-05-01 07:42:31 +08:00
|
|
|
****************************************************************************/
|
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
#include "config.h"
|
|
|
|
|
1999-05-29 09:28:24 +08:00
|
|
|
#include <string.h>
|
1998-05-01 07:42:31 +08:00
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
#include <libgimp/gimp.h>
|
|
|
|
|
1999-05-30 00:35:47 +08:00
|
|
|
#include "libgimp/stdplugins-intl.h"
|
|
|
|
|
2004-06-17 00:17:02 +08:00
|
|
|
|
1998-05-01 07:42:31 +08:00
|
|
|
/*********************************
|
|
|
|
*
|
|
|
|
* PLUGIN-SPECIFIC CONSTANTS
|
|
|
|
*
|
|
|
|
********************************/
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2005-08-14 02:29:14 +08:00
|
|
|
#define PLUG_IN_PROC "plug-in-blur"
|
1997-11-25 06:05:25 +08:00
|
|
|
|
1998-05-01 07:42:31 +08:00
|
|
|
/*********************************
|
|
|
|
*
|
|
|
|
* LOCAL FUNCTIONS
|
|
|
|
*
|
|
|
|
********************************/
|
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
static void query (void);
|
2003-07-02 02:54:28 +08:00
|
|
|
static void run (const gchar *name,
|
2003-12-24 06:07:06 +08:00
|
|
|
gint nparams,
|
|
|
|
const GimpParam *param,
|
|
|
|
gint *nreturn_vals,
|
|
|
|
GimpParam **return_vals);
|
2000-01-11 23:48:00 +08:00
|
|
|
|
2006-05-16 20:26:20 +08:00
|
|
|
const GimpPlugInInfo PLUG_IN_INFO =
|
2000-01-11 23:48:00 +08:00
|
|
|
{
|
2000-02-05 06:18:50 +08:00
|
|
|
NULL, /* init_proc */
|
|
|
|
NULL, /* quit_proc */
|
|
|
|
query, /* query_proc */
|
|
|
|
run, /* run_proc */
|
1998-05-01 07:42:31 +08:00
|
|
|
};
|
|
|
|
|
2004-05-19 02:13:48 +08:00
|
|
|
static void blur (GimpDrawable *drawable);
|
1998-05-01 07:42:31 +08:00
|
|
|
|
2004-05-19 02:13:48 +08:00
|
|
|
static inline void blur_prepare_row (GimpPixelRgn *pixel_rgn,
|
|
|
|
guchar *data,
|
|
|
|
gint x,
|
|
|
|
gint y,
|
|
|
|
gint w);
|
1998-05-01 07:42:31 +08:00
|
|
|
|
|
|
|
/************************************ Guts ***********************************/
|
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
MAIN ()
|
1998-05-01 07:42:31 +08:00
|
|
|
|
|
|
|
/*********************************
|
|
|
|
*
|
|
|
|
* query() - query_proc
|
|
|
|
*
|
2007-06-06 16:44:52 +08:00
|
|
|
* called by GIMP to learn about this plug-in
|
1998-05-01 07:42:31 +08:00
|
|
|
*
|
|
|
|
********************************/
|
1997-11-25 06:05:25 +08:00
|
|
|
|
|
|
|
static void
|
2000-01-11 23:48:00 +08:00
|
|
|
query (void)
|
1997-11-25 06:05:25 +08:00
|
|
|
{
|
2006-05-16 20:26:20 +08:00
|
|
|
static const GimpParamDef args[] =
|
2000-01-11 23:48:00 +08:00
|
|
|
{
|
2005-08-14 02:29:14 +08:00
|
|
|
{ GIMP_PDB_INT32, "run-mode", "Interactive, non-interactive" },
|
2004-06-17 00:17:02 +08:00
|
|
|
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
|
|
|
|
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
|
2000-01-11 23:48:00 +08:00
|
|
|
};
|
|
|
|
|
2005-08-14 02:29:14 +08:00
|
|
|
gimp_install_procedure (PLUG_IN_PROC,
|
2006-03-17 17:29:48 +08:00
|
|
|
N_("Simple blur, fast but not very strong"),
|
2006-03-10 18:08:35 +08:00
|
|
|
"This plug-in blurs the specified drawable, using "
|
|
|
|
"a 3x3 blur. Indexed images are not supported.",
|
|
|
|
"Miles O'Neal <meo@rru.com>",
|
|
|
|
"Miles O'Neal, Spencer Kimball, Peter Mattis, "
|
|
|
|
"Torsten Martinsen, Brian Degenhardt, "
|
|
|
|
"Federico Mena Quintero, Stephen Norris, "
|
|
|
|
"Daniel Cotting",
|
|
|
|
"1995-1998",
|
2004-06-16 23:40:56 +08:00
|
|
|
N_("_Blur"),
|
2003-12-24 06:07:06 +08:00
|
|
|
"RGB*, GRAY*",
|
|
|
|
GIMP_PLUGIN,
|
|
|
|
G_N_ELEMENTS (args), 0,
|
|
|
|
args, NULL);
|
2000-01-11 23:48:00 +08:00
|
|
|
|
2005-08-14 02:29:14 +08:00
|
|
|
gimp_plugin_menu_register (PLUG_IN_PROC, "<Image>/Filters/Blur");
|
1997-11-25 06:05:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
2003-07-02 02:54:28 +08:00
|
|
|
run (const gchar *name,
|
|
|
|
gint nparams,
|
|
|
|
const GimpParam *param,
|
|
|
|
gint *nreturn_vals,
|
|
|
|
GimpParam **return_vals)
|
1997-11-25 06:05:25 +08:00
|
|
|
{
|
2003-05-17 08:44:56 +08:00
|
|
|
GimpDrawable *drawable;
|
|
|
|
GimpRunMode run_mode;
|
2004-06-17 00:17:02 +08:00
|
|
|
GimpPDBStatusType status = GIMP_PDB_SUCCESS;
|
2003-05-17 08:44:56 +08:00
|
|
|
static GimpParam values[1];
|
2000-01-11 23:48:00 +08:00
|
|
|
|
2003-03-26 00:38:19 +08:00
|
|
|
INIT_I18N ();
|
2000-01-11 23:48:00 +08:00
|
|
|
|
2005-08-14 02:29:14 +08:00
|
|
|
values[0].type = GIMP_PDB_STATUS;
|
2000-01-11 23:48:00 +08:00
|
|
|
values[0].data.d_status = status;
|
2005-08-14 02:29:14 +08:00
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
*nreturn_vals = 1;
|
2005-08-14 02:29:14 +08:00
|
|
|
*return_vals = values;
|
2002-11-25 03:26:58 +08:00
|
|
|
|
2005-08-14 02:29:14 +08:00
|
|
|
if (strcmp (name, PLUG_IN_PROC) != 0 || nparams < 3)
|
2004-06-17 00:17:02 +08:00
|
|
|
{
|
|
|
|
values[0].data.d_status = GIMP_PDB_CALLING_ERROR;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
run_mode = param[0].data.d_int32;
|
|
|
|
drawable = gimp_drawable_get (param[2].data.d_drawable);
|
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
/*
|
|
|
|
* Make sure the drawable type is appropriate.
|
|
|
|
*/
|
2001-06-15 04:07:38 +08:00
|
|
|
if (gimp_drawable_is_rgb (drawable->drawable_id) ||
|
|
|
|
gimp_drawable_is_gray (drawable->drawable_id))
|
2000-01-11 23:48:00 +08:00
|
|
|
{
|
2005-09-30 16:16:10 +08:00
|
|
|
gimp_progress_init (_("Blurring"));
|
2004-06-17 00:17:02 +08:00
|
|
|
gimp_tile_cache_ntiles (2 * (drawable->width / gimp_tile_width () + 1));
|
2000-02-05 06:18:50 +08:00
|
|
|
|
2004-06-17 00:17:02 +08:00
|
|
|
blur (drawable);
|
|
|
|
|
|
|
|
if (run_mode != GIMP_RUN_NONINTERACTIVE)
|
2003-12-24 06:07:06 +08:00
|
|
|
{
|
2004-06-17 00:17:02 +08:00
|
|
|
gimp_displays_flush ();
|
1998-05-01 07:42:31 +08:00
|
|
|
}
|
1997-11-25 06:05:25 +08:00
|
|
|
}
|
2000-01-11 23:48:00 +08:00
|
|
|
else
|
|
|
|
{
|
2000-08-22 09:26:57 +08:00
|
|
|
status = GIMP_PDB_EXECUTION_ERROR;
|
2000-01-11 23:48:00 +08:00
|
|
|
}
|
2004-06-17 00:17:02 +08:00
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
values[0].data.d_status = status;
|
2000-01-26 01:46:56 +08:00
|
|
|
gimp_drawable_detach (drawable);
|
1998-05-01 07:42:31 +08:00
|
|
|
}
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2004-06-17 00:17:02 +08:00
|
|
|
|
1998-05-01 07:42:31 +08:00
|
|
|
/*********************************
|
|
|
|
*
|
|
|
|
* blur_prepare_row()
|
|
|
|
*
|
|
|
|
* Get a row of pixels. If the requested row
|
|
|
|
* is off the edge, clone the edge row.
|
|
|
|
*
|
|
|
|
********************************/
|
1997-11-25 06:05:25 +08:00
|
|
|
|
1998-05-01 07:42:31 +08:00
|
|
|
static inline void
|
2003-11-06 23:27:05 +08:00
|
|
|
blur_prepare_row (GimpPixelRgn *pixel_rgn,
|
2003-12-24 06:07:06 +08:00
|
|
|
guchar *data,
|
|
|
|
gint x,
|
|
|
|
gint y,
|
|
|
|
gint w)
|
1998-05-01 07:42:31 +08:00
|
|
|
{
|
2004-06-17 00:17:02 +08:00
|
|
|
gint b;
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2007-05-07 17:14:59 +08:00
|
|
|
y = CLAMP (y, 0, pixel_rgn->h - 1);
|
|
|
|
|
2002-06-19 17:48:41 +08:00
|
|
|
gimp_pixel_rgn_get_row (pixel_rgn, data, x, y, w);
|
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
/*
|
|
|
|
* Fill in edge pixels
|
|
|
|
*/
|
|
|
|
for (b = 0; b < pixel_rgn->bpp; b++)
|
2007-05-07 17:14:59 +08:00
|
|
|
data[-(gint)pixel_rgn->bpp + b] = data[b];
|
|
|
|
|
|
|
|
for (b = 0; b < pixel_rgn->bpp; b++)
|
|
|
|
data[w * pixel_rgn->bpp + b] = data[(w - 1) * pixel_rgn->bpp + b];
|
1997-11-25 06:05:25 +08:00
|
|
|
}
|
|
|
|
|
1998-05-01 07:42:31 +08:00
|
|
|
/*********************************
|
|
|
|
*
|
|
|
|
* blur()
|
|
|
|
*
|
|
|
|
* Actually mess with the image.
|
|
|
|
*
|
|
|
|
********************************/
|
|
|
|
|
1997-11-25 06:05:25 +08:00
|
|
|
static void
|
2000-08-22 09:26:57 +08:00
|
|
|
blur (GimpDrawable *drawable)
|
1997-11-25 06:05:25 +08:00
|
|
|
{
|
2007-05-07 17:14:59 +08:00
|
|
|
GimpPixelRgn srcPR, destPR;
|
2003-05-17 08:44:56 +08:00
|
|
|
gint width, height;
|
|
|
|
gint bytes;
|
|
|
|
guchar *dest, *d;
|
|
|
|
guchar *prev_row, *pr;
|
|
|
|
guchar *cur_row, *cr;
|
|
|
|
guchar *next_row, *nr;
|
|
|
|
guchar *tmp;
|
|
|
|
gint row, col;
|
|
|
|
gint x1, y1, x2, y2;
|
2004-06-16 23:40:56 +08:00
|
|
|
gint ind;
|
2003-05-17 08:44:56 +08:00
|
|
|
gboolean has_alpha;
|
2000-01-11 23:48:00 +08:00
|
|
|
|
2003-05-17 08:44:56 +08:00
|
|
|
gimp_drawable_mask_bounds (drawable->drawable_id, &x1, &y1, &x2, &y2);
|
2000-01-11 23:48:00 +08:00
|
|
|
/*
|
|
|
|
* Get the size of the input image. (This will/must be the same
|
|
|
|
* as the size of the output image. Also get alpha info.
|
|
|
|
*/
|
|
|
|
width = drawable->width;
|
|
|
|
height = drawable->height;
|
|
|
|
bytes = drawable->bpp;
|
2003-05-17 08:44:56 +08:00
|
|
|
has_alpha = gimp_drawable_has_alpha (drawable->drawable_id);
|
2000-01-11 23:48:00 +08:00
|
|
|
/*
|
|
|
|
* allocate row buffers
|
|
|
|
*/
|
2000-01-12 01:41:07 +08:00
|
|
|
prev_row = g_new (guchar, (x2 - x1 + 2) * bytes);
|
2000-02-05 06:18:50 +08:00
|
|
|
cur_row = g_new (guchar, (x2 - x1 + 2) * bytes);
|
2000-01-12 01:41:07 +08:00
|
|
|
next_row = g_new (guchar, (x2 - x1 + 2) * bytes);
|
2000-02-05 06:18:50 +08:00
|
|
|
dest = g_new (guchar, (x2 - x1) * bytes);
|
2000-01-11 23:48:00 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* initialize the pixel regions
|
|
|
|
*/
|
2000-02-05 06:18:50 +08:00
|
|
|
gimp_pixel_rgn_init (&srcPR, drawable, 0, 0, width, height, FALSE, FALSE);
|
|
|
|
gimp_pixel_rgn_init (&destPR, drawable, 0, 0, width, height, TRUE, TRUE);
|
2000-01-11 23:48:00 +08:00
|
|
|
|
|
|
|
pr = prev_row + bytes;
|
|
|
|
cr = cur_row + bytes;
|
|
|
|
nr = next_row + bytes;
|
|
|
|
|
2004-06-16 23:40:56 +08:00
|
|
|
/*
|
|
|
|
* prepare the first row and previous row
|
|
|
|
*/
|
2007-05-07 17:14:59 +08:00
|
|
|
blur_prepare_row (&srcPR, pr, x1, y1 - 1, (x2 - x1));
|
|
|
|
blur_prepare_row (&srcPR, cr, x1, y1, (x2 - x1));
|
|
|
|
|
2004-06-16 23:40:56 +08:00
|
|
|
/*
|
|
|
|
* loop through the rows, applying the selected convolution
|
|
|
|
*/
|
|
|
|
for (row = y1; row < y2; row++)
|
2000-01-11 23:48:00 +08:00
|
|
|
{
|
2004-06-16 23:40:56 +08:00
|
|
|
/* prepare the next row */
|
2007-05-07 17:14:59 +08:00
|
|
|
blur_prepare_row (&srcPR, nr, x1, row + 1, (x2 - x1));
|
2004-06-17 00:17:02 +08:00
|
|
|
|
2004-06-16 23:40:56 +08:00
|
|
|
d = dest;
|
|
|
|
ind = 0;
|
|
|
|
for (col = 0; col < (x2 - x1) * bytes; col++)
|
2008-10-20 14:04:39 +08:00
|
|
|
{
|
|
|
|
ind++;
|
|
|
|
if (ind == bytes || !has_alpha)
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
* If no alpha channel,
|
|
|
|
* or if there is one and this is it...
|
|
|
|
*/
|
|
|
|
*d++ = ((gint) pr[col - bytes] + (gint) pr[col] +
|
|
|
|
(gint) pr[col + bytes] +
|
|
|
|
(gint) cr[col - bytes] + (gint) cr[col] +
|
|
|
|
(gint) cr[col + bytes] +
|
|
|
|
(gint) nr[col - bytes] + (gint) nr[col] +
|
|
|
|
(gint) nr[col + bytes] + 4) / 9;
|
|
|
|
ind = 0;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
* otherwise we have an alpha channel,
|
|
|
|
* but this is a color channel
|
|
|
|
*/
|
|
|
|
*d++ = ROUND(
|
2007-04-26 22:30:07 +08:00
|
|
|
((gdouble) (pr[col - bytes] * pr[col - ind])
|
|
|
|
+ (gdouble) (pr[col] * pr[col + bytes - ind])
|
|
|
|
+ (gdouble) (pr[col + bytes] * pr[col + 2*bytes - ind])
|
|
|
|
+ (gdouble) (cr[col - bytes] * cr[col - ind])
|
|
|
|
+ (gdouble) (cr[col] * cr[col + bytes - ind])
|
|
|
|
+ (gdouble) (cr[col + bytes] * cr[col + 2*bytes - ind])
|
|
|
|
+ (gdouble) (nr[col - bytes] * nr[col - ind])
|
|
|
|
+ (gdouble) (nr[col] * nr[col + bytes - ind])
|
|
|
|
+ (gdouble) (nr[col + bytes] * nr[col + 2*bytes - ind]))
|
|
|
|
/ ((gdouble) pr[col - ind]
|
|
|
|
+ (gdouble) pr[col + bytes - ind]
|
|
|
|
+ (gdouble) pr[col + 2*bytes - ind]
|
|
|
|
+ (gdouble) cr[col - ind]
|
|
|
|
+ (gdouble) cr[col + bytes - ind]
|
|
|
|
+ (gdouble) cr[col + 2*bytes - ind]
|
|
|
|
+ (gdouble) nr[col - ind]
|
|
|
|
+ (gdouble) nr[col + bytes - ind]
|
|
|
|
+ (gdouble) nr[col + 2*bytes - ind]));
|
2008-10-20 14:04:39 +08:00
|
|
|
}
|
|
|
|
}
|
2003-12-24 06:07:06 +08:00
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
/*
|
2004-06-16 23:40:56 +08:00
|
|
|
* Save the modified row, shuffle the row pointers, and every
|
|
|
|
* so often, update the progress meter.
|
2000-01-11 23:48:00 +08:00
|
|
|
*/
|
2007-05-07 17:14:59 +08:00
|
|
|
gimp_pixel_rgn_set_row (&destPR, dest, x1, row, (x2 - x1));
|
2004-06-17 00:17:02 +08:00
|
|
|
|
2004-06-16 23:40:56 +08:00
|
|
|
tmp = pr;
|
|
|
|
pr = cr;
|
|
|
|
cr = nr;
|
|
|
|
nr = tmp;
|
2004-06-17 00:17:02 +08:00
|
|
|
|
2007-05-07 17:22:46 +08:00
|
|
|
if ((row % 32) == 0)
|
2008-10-20 14:04:39 +08:00
|
|
|
gimp_progress_update ((gdouble) row / (gdouble) (y2 - y1));
|
1997-11-25 06:05:25 +08:00
|
|
|
}
|
2004-06-16 23:40:56 +08:00
|
|
|
|
2004-12-24 07:19:43 +08:00
|
|
|
gimp_progress_update (1.0);
|
|
|
|
|
2000-01-11 23:48:00 +08:00
|
|
|
/*
|
|
|
|
* update the blurred region
|
|
|
|
*/
|
2003-05-17 08:44:56 +08:00
|
|
|
gimp_drawable_flush (drawable);
|
|
|
|
gimp_drawable_merge_shadow (drawable->drawable_id, TRUE);
|
|
|
|
gimp_drawable_update (drawable->drawable_id, x1, y1, (x2 - x1), (y2 - y1));
|
2000-01-11 23:48:00 +08:00
|
|
|
/*
|
|
|
|
* clean up after ourselves.
|
|
|
|
*/
|
2000-01-12 01:41:07 +08:00
|
|
|
g_free (prev_row);
|
|
|
|
g_free (cur_row);
|
|
|
|
g_free (next_row);
|
|
|
|
g_free (dest);
|
1997-11-25 06:05:25 +08:00
|
|
|
}
|