[Gimp-developer] refactor palette loading code



Hi again,

Here's a link<https://github.com/wt/gimp/commit/d1e8c4c8543b18c6f5d95f6ab6b3bbbf8f80778b>to
a commit containing a refactor of the palette loading code. I have
moved
the file open/close logic to common code. This change actually removes more
code than it adds. Here's a interesting diffstat (without whitespace only
changes):

$ git diff --stat --color -w origin/master
 app/core/gimp.c               |   4 +-
 app/core/gimppalette-import.c |  37 +++++++++--
 app/core/gimppalette-load.c   | 148
++++++++++++-----------------------------
 app/core/gimppalette-load.h   |  12 +++-
 4 files changed, 85 insertions(+), 116 deletions(-)

Any chance this could be pulled into the master? Do y'all have any other
thoughts on this?

Thanks,
wt


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