1998-11-05 07:30:18 +08:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
* Copyright (C) 1998 Andy Thomas.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (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 PURIGHTE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2000-12-17 05:37:03 +08:00
|
|
|
#include "config.h"
|
|
|
|
|
1998-11-05 07:30:18 +08:00
|
|
|
#include <string.h>
|
|
|
|
|
2000-12-17 05:37:03 +08:00
|
|
|
#include <gtk/gtk.h>
|
|
|
|
|
2001-01-25 06:36:18 +08:00
|
|
|
#include "libgimpwidgets/gimpwidgets.h"
|
|
|
|
|
2000-12-17 05:37:03 +08:00
|
|
|
#include "apptypes.h"
|
|
|
|
|
1998-11-05 07:30:18 +08:00
|
|
|
#include "appenv.h"
|
2001-02-12 11:27:28 +08:00
|
|
|
#include "context_manager.h"
|
1999-09-28 01:58:10 +08:00
|
|
|
#include "dialog_handler.h"
|
2001-02-11 03:35:29 +08:00
|
|
|
#include "gimpcontainer.h"
|
2001-02-13 08:12:15 +08:00
|
|
|
#include "gimpcontainerlistview.h"
|
1999-10-27 02:27:27 +08:00
|
|
|
#include "gimpcontext.h"
|
2001-02-14 03:53:07 +08:00
|
|
|
#include "gimpdatafactory.h"
|
1999-10-28 23:05:49 +08:00
|
|
|
#include "gimpdnd.h"
|
2001-02-11 03:35:29 +08:00
|
|
|
#include "gimpgradient.h"
|
2001-02-11 03:54:24 +08:00
|
|
|
#include "gradient_editor.h"
|
1999-10-28 23:05:49 +08:00
|
|
|
#include "gradient_select.h"
|
1998-11-05 07:30:18 +08:00
|
|
|
#include "session.h"
|
|
|
|
|
2001-01-22 05:58:16 +08:00
|
|
|
#include "pdb/procedural_db.h"
|
|
|
|
|
1998-12-16 08:37:09 +08:00
|
|
|
#include "libgimp/gimpintl.h"
|
|
|
|
|
2000-12-29 23:22:01 +08:00
|
|
|
|
2001-02-13 08:12:15 +08:00
|
|
|
static void gradient_select_change_callbacks (GradientSelect *gsp,
|
2000-01-06 03:20:00 +08:00
|
|
|
gboolean closing);
|
|
|
|
static void gradient_select_drop_gradient (GtkWidget *widget,
|
2001-02-13 08:12:15 +08:00
|
|
|
GimpViewable *viewable,
|
2000-01-06 03:20:00 +08:00
|
|
|
gpointer data);
|
|
|
|
static void gradient_select_gradient_changed (GimpContext *context,
|
2001-02-11 03:35:29 +08:00
|
|
|
GimpGradient *gradient,
|
2000-01-06 03:20:00 +08:00
|
|
|
GradientSelect *gsp);
|
|
|
|
static void gradient_select_close_callback (GtkWidget *widget,
|
|
|
|
gpointer data);
|
|
|
|
static void gradient_select_edit_callback (GtkWidget *widget,
|
|
|
|
gpointer data);
|
1999-10-28 23:05:49 +08:00
|
|
|
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
/* list of active dialogs */
|
2000-12-21 19:56:58 +08:00
|
|
|
GSList *gradient_active_dialogs = NULL;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
/* the main gradient selection dialog */
|
2000-12-21 19:56:58 +08:00
|
|
|
GradientSelect *gradient_select_dialog = NULL;
|
|
|
|
|
1998-11-05 07:30:18 +08:00
|
|
|
|
|
|
|
void
|
1999-10-28 23:05:49 +08:00
|
|
|
gradient_dialog_create (void)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
if (! gradient_select_dialog)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
gradient_select_dialog = gradient_select_new (NULL, NULL);
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
1999-10-28 23:05:49 +08:00
|
|
|
else
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
if (!GTK_WIDGET_VISIBLE (gradient_select_dialog->shell))
|
|
|
|
gtk_widget_show (gradient_select_dialog->shell);
|
|
|
|
else
|
|
|
|
gdk_window_raise (gradient_select_dialog->shell->window);
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
1999-10-28 23:05:49 +08:00
|
|
|
gradient_dialog_free (void)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
if (gradient_select_dialog)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
session_get_window_info (gradient_select_dialog->shell,
|
|
|
|
&gradient_select_session_info);
|
1999-10-27 02:27:27 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
gradient_select_free (gradient_select_dialog);
|
|
|
|
gradient_select_dialog = NULL;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
|
|
|
}
|
1999-10-28 23:05:49 +08:00
|
|
|
|
|
|
|
gradient_editor_free ();
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
/* If title == NULL then it is the main gradient select dialog */
|
|
|
|
GradientSelect *
|
|
|
|
gradient_select_new (gchar *title,
|
|
|
|
gchar *initial_gradient)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
2000-12-21 19:56:58 +08:00
|
|
|
GradientSelect *gsp;
|
|
|
|
GtkWidget *vbox;
|
2001-02-11 03:35:29 +08:00
|
|
|
GimpGradient *active = NULL;
|
1999-10-27 02:27:27 +08:00
|
|
|
|
2000-12-21 19:56:58 +08:00
|
|
|
static gboolean first_call = TRUE;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
2001-02-13 08:12:15 +08:00
|
|
|
gsp = g_new0 (GradientSelect, 1);
|
1999-10-28 23:05:49 +08:00
|
|
|
|
|
|
|
/* The shell */
|
|
|
|
gsp->shell = gimp_dialog_new (title ? title : _("Gradient Selection"),
|
|
|
|
"gradient_selection",
|
|
|
|
gimp_standard_help_func,
|
|
|
|
"dialogs/gradient_selection.html",
|
2000-01-30 07:06:06 +08:00
|
|
|
title ? GTK_WIN_POS_MOUSE : GTK_WIN_POS_NONE,
|
1999-10-28 23:05:49 +08:00
|
|
|
FALSE, TRUE, FALSE,
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
_("Edit"), gradient_select_edit_callback,
|
2000-01-07 00:40:17 +08:00
|
|
|
gsp, NULL, NULL, FALSE, FALSE,
|
1999-10-28 23:05:49 +08:00
|
|
|
_("Close"), gradient_select_close_callback,
|
2000-01-07 00:40:17 +08:00
|
|
|
gsp, NULL, NULL, TRUE, TRUE,
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
NULL);
|
1999-10-27 02:27:27 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
if (title)
|
|
|
|
{
|
|
|
|
gsp->context = gimp_context_new (title, NULL);
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
1999-10-28 23:05:49 +08:00
|
|
|
else
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
gsp->context = gimp_context_get_user ();
|
|
|
|
|
|
|
|
session_set_window_geometry (gsp->shell, &gradient_select_session_info,
|
|
|
|
TRUE);
|
|
|
|
dialog_register (gsp->shell);
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
if (no_data && first_call)
|
2001-02-14 09:42:12 +08:00
|
|
|
gimp_data_factory_data_init (global_gradient_factory, FALSE);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
first_call = FALSE;
|
|
|
|
|
|
|
|
if (title && initial_gradient && strlen (initial_gradient))
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
2001-02-11 03:35:29 +08:00
|
|
|
active = (GimpGradient *)
|
2001-02-14 03:53:07 +08:00
|
|
|
gimp_container_get_child_by_name (global_gradient_factory->container,
|
2001-02-11 03:35:29 +08:00
|
|
|
initial_gradient);
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
1999-10-28 23:05:49 +08:00
|
|
|
else
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
active = gimp_context_get_gradient (gimp_context_get_user ());
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
if (!active)
|
2001-02-13 08:12:15 +08:00
|
|
|
active = gimp_context_get_gradient (gimp_context_get_standard ());
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
if (title)
|
2001-02-13 08:12:15 +08:00
|
|
|
gimp_context_set_gradient (gsp->context, active);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
vbox = gtk_vbox_new (FALSE, 0);
|
|
|
|
gtk_container_set_border_width (GTK_CONTAINER (vbox), 2);
|
|
|
|
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (gsp->shell)->vbox), vbox);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
2001-02-13 08:12:15 +08:00
|
|
|
/* The Gradient List */
|
2001-02-14 03:53:07 +08:00
|
|
|
gsp->view = gimp_container_list_view_new (global_gradient_factory->container,
|
2001-02-13 08:12:15 +08:00
|
|
|
gsp->context,
|
|
|
|
16,
|
|
|
|
10, 10);
|
|
|
|
gtk_box_pack_start (GTK_BOX (vbox), gsp->view, TRUE, TRUE, 0);
|
|
|
|
gtk_widget_show (gsp->view);
|
|
|
|
|
|
|
|
gimp_gtk_drag_dest_set_by_type (gsp->view,
|
|
|
|
GTK_DEST_DEFAULT_ALL,
|
|
|
|
GIMP_TYPE_GRADIENT,
|
|
|
|
GDK_ACTION_COPY);
|
|
|
|
gimp_dnd_viewable_dest_set (GTK_WIDGET (gsp->view),
|
|
|
|
GIMP_TYPE_GRADIENT,
|
|
|
|
gradient_select_drop_gradient,
|
|
|
|
gsp);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
2001-02-13 08:12:15 +08:00
|
|
|
gtk_widget_show (vbox);
|
1999-11-03 17:58:46 +08:00
|
|
|
|
2001-02-13 08:12:15 +08:00
|
|
|
gtk_widget_show (gsp->shell);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
gtk_signal_connect (GTK_OBJECT (gsp->context), "gradient_changed",
|
|
|
|
GTK_SIGNAL_FUNC (gradient_select_gradient_changed),
|
1999-11-03 17:58:46 +08:00
|
|
|
(gpointer) gsp);
|
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
/* Add to active gradient dialogs list */
|
|
|
|
gradient_active_dialogs = g_slist_append (gradient_active_dialogs, gsp);
|
|
|
|
|
|
|
|
return gsp;
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
1999-10-28 23:05:49 +08:00
|
|
|
gradient_select_free (GradientSelect *gsp)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
if (!gsp)
|
|
|
|
return;
|
1999-09-28 01:58:10 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
/* remove from active list */
|
|
|
|
gradient_active_dialogs = g_slist_remove (gradient_active_dialogs, gsp);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
gtk_signal_disconnect_by_data (GTK_OBJECT (gsp->context), gsp);
|
1999-10-27 02:27:27 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
if (gsp->callback_name)
|
|
|
|
{
|
|
|
|
g_free (gsp->callback_name);
|
|
|
|
gtk_object_unref (GTK_OBJECT (gsp->context));
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
1999-10-28 23:05:49 +08:00
|
|
|
|
|
|
|
g_free (gsp);
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
2001-02-13 08:12:15 +08:00
|
|
|
gradient_select_change_callbacks (GradientSelect *gsp,
|
|
|
|
gboolean closing)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
2000-12-21 19:56:58 +08:00
|
|
|
gchar *name;
|
|
|
|
ProcRecord *prec = NULL;
|
2001-02-11 03:35:29 +08:00
|
|
|
GimpGradient *gradient;
|
2000-12-21 19:56:58 +08:00
|
|
|
gint nreturn_vals;
|
|
|
|
static gboolean busy = FALSE;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
|
|
|
/* Any procs registered to callback? */
|
|
|
|
Argument *return_vals;
|
1999-09-28 01:58:10 +08:00
|
|
|
|
|
|
|
if (!gsp || !gsp->callback_name || busy != 0)
|
1998-11-05 07:30:18 +08:00
|
|
|
return;
|
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
busy = TRUE;
|
2001-02-13 08:12:15 +08:00
|
|
|
|
1998-11-05 07:30:18 +08:00
|
|
|
name = gsp->callback_name;
|
1999-10-28 23:05:49 +08:00
|
|
|
gradient = gimp_context_get_gradient (gsp->context);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-27 02:27:27 +08:00
|
|
|
/* If its still registered run it */
|
1999-09-28 01:58:10 +08:00
|
|
|
prec = procedural_db_lookup (name);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
if (prec && gradient)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
|
|
|
gdouble *values, *pv;
|
|
|
|
double pos, delta;
|
2001-01-21 00:28:05 +08:00
|
|
|
GimpRGB color;
|
|
|
|
gint i;
|
|
|
|
|
|
|
|
i = gsp->sample_size;
|
2000-12-21 19:56:58 +08:00
|
|
|
pos = 0.0;
|
|
|
|
delta = 1.0 / (i - 1);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-09-28 01:58:10 +08:00
|
|
|
values = g_new (gdouble, 4 * i);
|
1998-11-05 07:30:18 +08:00
|
|
|
pv = values;
|
|
|
|
|
1999-09-28 01:58:10 +08:00
|
|
|
while (i--)
|
|
|
|
{
|
2001-02-11 03:35:29 +08:00
|
|
|
gimp_gradient_get_color_at (gradient, pos, &color);
|
1999-09-28 01:58:10 +08:00
|
|
|
|
2001-01-21 00:28:05 +08:00
|
|
|
*pv++ = color.r;
|
|
|
|
*pv++ = color.g;
|
|
|
|
*pv++ = color.b;
|
|
|
|
*pv++ = color.a;
|
1999-09-28 01:58:10 +08:00
|
|
|
|
|
|
|
pos += delta;
|
|
|
|
}
|
1998-11-05 07:30:18 +08:00
|
|
|
|
2001-02-11 03:35:29 +08:00
|
|
|
return_vals =
|
|
|
|
procedural_db_run_proc (name,
|
|
|
|
&nreturn_vals,
|
|
|
|
PDB_STRING, GIMP_OBJECT (gradient)->name,
|
|
|
|
PDB_INT32, gsp->sample_size * 4,
|
|
|
|
PDB_FLOATARRAY, values,
|
|
|
|
PDB_INT32, (gint) closing,
|
|
|
|
PDB_END);
|
1998-11-05 07:30:18 +08:00
|
|
|
|
|
|
|
if (!return_vals || return_vals[0].value.pdb_int != PDB_SUCCESS)
|
1999-05-30 00:35:47 +08:00
|
|
|
g_message ("failed to run gradient callback function");
|
1998-11-05 07:30:18 +08:00
|
|
|
else
|
|
|
|
procedural_db_destroy_args (return_vals, nreturn_vals);
|
|
|
|
}
|
2001-02-13 08:12:15 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
busy = FALSE;
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
/* Close active dialogs that no longer have PDB registered for them */
|
|
|
|
|
|
|
|
void
|
2001-02-13 08:12:15 +08:00
|
|
|
gradient_select_dialogs_check (void)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
GradientSelect *gsp;
|
2000-12-21 19:56:58 +08:00
|
|
|
GSList *list;
|
|
|
|
gchar *name;
|
|
|
|
ProcRecord *prec = NULL;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
list = gradient_active_dialogs;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
while (list)
|
1998-11-05 07:30:18 +08:00
|
|
|
{
|
1999-10-28 23:05:49 +08:00
|
|
|
gsp = (GradientSelect *) list->data;
|
|
|
|
list = g_slist_next (list);
|
|
|
|
|
|
|
|
name = gsp->callback_name;
|
|
|
|
|
|
|
|
if (name)
|
|
|
|
{
|
|
|
|
prec = procedural_db_lookup (name);
|
|
|
|
|
|
|
|
if (!prec)
|
|
|
|
{
|
|
|
|
/* Can alter gradient_active_dialogs list */
|
|
|
|
gradient_select_close_callback (NULL, gsp);
|
|
|
|
}
|
|
|
|
}
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
static void
|
2001-02-11 03:35:29 +08:00
|
|
|
gradient_select_drop_gradient (GtkWidget *widget,
|
2001-02-13 08:12:15 +08:00
|
|
|
GimpViewable *viewable,
|
2001-02-11 03:35:29 +08:00
|
|
|
gpointer data)
|
1999-10-28 23:05:49 +08:00
|
|
|
{
|
|
|
|
GradientSelect *gsp;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
gsp = (GradientSelect *) data;
|
1998-11-05 07:30:18 +08:00
|
|
|
|
2001-02-13 08:12:15 +08:00
|
|
|
gimp_context_set_gradient (gsp->context, GIMP_GRADIENT (viewable));
|
1999-10-28 23:05:49 +08:00
|
|
|
}
|
1998-11-05 07:30:18 +08:00
|
|
|
|
1999-10-28 23:05:49 +08:00
|
|
|
static void
|
|
|
|
gradient_select_gradient_changed (GimpContext *context,
|
2001-02-11 03:35:29 +08:00
|
|
|
GimpGradient *gradient,
|
1999-10-28 23:05:49 +08:00
|
|
|
GradientSelect *gsp)
|
|
|
|
{
|
|
|
|
if (gradient)
|
1999-10-29 22:15:55 +08:00
|
|
|
{
|
|
|
|
if (gsp->callback_name)
|
2001-02-13 08:12:15 +08:00
|
|
|
gradient_select_change_callbacks (gsp, FALSE);
|
1999-11-03 17:58:46 +08:00
|
|
|
}
|
1999-10-28 23:05:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
gradient_select_edit_callback (GtkWidget *widget,
|
|
|
|
gpointer data)
|
|
|
|
{
|
|
|
|
GradientSelect *gsp;
|
|
|
|
|
|
|
|
gsp = (GradientSelect *) data;
|
|
|
|
|
2001-02-13 08:12:15 +08:00
|
|
|
gradient_editor_set_gradient (gimp_context_get_gradient (gsp->context));
|
1999-10-28 23:05:49 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
static void
|
|
|
|
gradient_select_close_callback (GtkWidget *widget,
|
|
|
|
gpointer data)
|
|
|
|
{
|
|
|
|
GradientSelect *gsp;
|
|
|
|
|
|
|
|
gsp = (GradientSelect *) data;
|
|
|
|
|
|
|
|
if (GTK_WIDGET_VISIBLE (gsp->shell))
|
|
|
|
gtk_widget_hide (gsp->shell);
|
|
|
|
|
|
|
|
/* Free memory if poping down dialog which is not the main one */
|
|
|
|
if (gsp != gradient_select_dialog)
|
|
|
|
{
|
2001-02-13 08:12:15 +08:00
|
|
|
gradient_select_change_callbacks (gsp, TRUE);
|
1999-10-28 23:05:49 +08:00
|
|
|
gtk_widget_destroy (gsp->shell);
|
|
|
|
gradient_select_free (gsp);
|
1998-11-05 07:30:18 +08:00
|
|
|
}
|
|
|
|
}
|