summaryrefslogtreecommitdiff
path: root/app/gui/gradient-select.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2001-02-14 01:42:12 +0000
committerMichael Natterer <mitch@src.gnome.org>2001-02-14 01:42:12 +0000
commita97e433ba2f848a91efdc5ab1e183d6f39b30c38 (patch)
treee25a31da907bd3568669576d545e4ef57737f96d /app/gui/gradient-select.c
parenta16b42030618c39299579970a5bb15d9604502cf (diff)
app/Makefile.am po/POTFILES.in app/brushes.[ch] app/gradients.[ch]
2001-02-14 Michael Natterer <mitch@gimp.org> * app/Makefile.am * po/POTFILES.in * app/brushes.[ch] * app/gradients.[ch] * app/palettes.[ch] * app/patterns.[ch]: removed. * app/gimpdatafactory.[ch]: completely manage the data lists, including loading with different callbacks per extension. * app/gimpdatafactoryview.[ch]: enabled "new", "edit", "delete" and "refresh". * app/context_manager.c: initisalize the data factories. * app/gimpcontext.c: fixed some bad bugs introduced yesterday. * app/gradient_editor.[ch]: removed the public "create" function and create the editor implicitly on "set_gradient" * app/app_procs.c * app/apptypes.h * app/brush_edit.h * app/brush_select.c * app/commands.c * app/convert.c * app/devices.c * app/gimpbrushpipe.c * app/gimpcontainerview.h * app/gimpgradient.c * app/gimppattern.c * app/gradient_select.c * app/palette.c * app/pattern_select.c * app/pdb/brush_select_cmds.c * app/pdb/brushes_cmds.c * app/pdb/convert_cmds.c * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/pdb/palette_cmds.c * app/pdb/pattern_select_cmds.c * app/pdb/patterns_cmds.c * tools/pdbgen/pdb/brush_select.pdb * tools/pdbgen/pdb/brushes.pdb * tools/pdbgen/pdb/convert.pdb * tools/pdbgen/pdb/gradient_select.pdb * tools/pdbgen/pdb/gradients.pdb * tools/pdbgen/pdb/palette.pdb * tools/pdbgen/pdb/pattern_select.pdb * tools/pdbgen/pdb/patterns.pdb: um, much stuff, mostly "changed accordingly" ;-)
Diffstat (limited to 'app/gui/gradient-select.c')
-rw-r--r--app/gui/gradient-select.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/app/gui/gradient-select.c b/app/gui/gradient-select.c
index 1b996623b3..9c59401bde 100644
--- a/app/gui/gradient-select.c
+++ b/app/gui/gradient-select.c
@@ -37,7 +37,6 @@
#include "gimpdnd.h"
#include "gimpgradient.h"
#include "gradient_editor.h"
-#include "gradients.h"
#include "gradient_select.h"
#include "session.h"
@@ -141,7 +140,7 @@ gradient_select_new (gchar *title,
}
if (no_data && first_call)
- gradients_init (FALSE);
+ gimp_data_factory_data_init (global_gradient_factory, FALSE);
first_call = FALSE;
@@ -349,8 +348,6 @@ gradient_select_edit_callback (GtkWidget *widget,
gsp = (GradientSelect *) data;
- gradient_editor_create ();
-
gradient_editor_set_gradient (gimp_context_get_gradient (gsp->context));
}