[gimp/soc-2009-dynamics] Created stubs for saving and loading dynamics



commit 569a64d2c9ad4c6e520efc56bf7fc933a7ab272b
Author: Alexia Death <alexiadeath gmail com>
Date:   Thu Aug 20 12:26:02 2009 +0300

    Created stubs for saving and loading dynamics

 app/core/Makefile.am |    4 ++++
 app/core/gimp.c      |    4 +++-
 2 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/app/core/Makefile.am b/app/core/Makefile.am
index cd286cd..5198e23 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 f6cdf68..c14963c 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[] =



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]