app: move some stuff out of app/file/
file-procedure.[ch] is gone and its functions moved to GimpPlugInManager where they belong (the manager keeps around the lists of load, save and export procedures). Utility functions from file-utils.[ch] that have nothing to do with image files moved to core/gimp-utils.[ch].
This commit is contained in:
@ -31,9 +31,9 @@
|
||||
#include "widgets-types.h"
|
||||
|
||||
#include "core/gimp.h"
|
||||
#include "core/gimp-utils.h"
|
||||
#include "core/gimpimage.h"
|
||||
|
||||
#include "file/file-utils.h"
|
||||
#include "file/gimp-file.h"
|
||||
|
||||
#include "pdb/gimppdb.h"
|
||||
@ -191,7 +191,7 @@ gimp_export_dialog_set_image (GimpExportDialog *dialog,
|
||||
|
||||
if (ext_file)
|
||||
{
|
||||
GFile *tmp_file = file_utils_file_with_new_ext (name_file, ext_file);
|
||||
GFile *tmp_file = gimp_file_with_new_extension (name_file, ext_file);
|
||||
basename = g_path_get_basename (gimp_file_get_utf8_name (tmp_file));
|
||||
g_object_unref (tmp_file);
|
||||
g_object_unref (ext_file);
|
||||
|
Reference in New Issue
Block a user