From 569a64d2c9ad4c6e520efc56bf7fc933a7ab272b Mon Sep 17 00:00:00 2001 From: Alexia Death Date: Thu, 20 Aug 2009 12:26:02 +0300 Subject: [PATCH] Created stubs for saving and loading dynamics --- app/core/Makefile.am | 4 ++++ app/core/gimp.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/core/Makefile.am b/app/core/Makefile.am index cd286cd8b3..5198e23287 100644 --- a/app/core/Makefile.am +++ b/app/core/Makefile.am @@ -169,6 +169,10 @@ libappcore_a_sources = \ gimpdrawableundo.h \ gimpdynamics.c \ gimpdynamics.h \ + gimpdynamics-load.c \ + gimpdynamics-load.h \ + gimpdynamics-save.c \ + gimpdynamics-save.h \ gimperror.c \ gimperror.h \ gimpfilloptions.c \ diff --git a/app/core/gimp.c b/app/core/gimp.c index f6cdf68147..c14963c34d 100644 --- a/app/core/gimp.c +++ b/app/core/gimp.c @@ -76,6 +76,8 @@ #include "gimptoolinfo.h" #include "gimpdynamics.h" +#include "gimpdynamics-load.h" + #include "gimp-intl.h" @@ -543,7 +545,7 @@ gimp_real_initialize (Gimp *gimp, static const GimpDataFactoryLoaderEntry dynamics_loader_entries[] = { /*TODO: Dynamics need savers and loaders*/ - { gimp_pattern_load, GIMP_PATTERN_FILE_EXTENSION, FALSE } + { gimp_dynamics_load, GIMP_DYNAMICS_FILE_EXTENSION, FALSE } }; static const GimpDataFactoryLoaderEntry pattern_loader_entries[] =