app: remove gimp_image_get_filename()

This commit is contained in:
Michael Natterer 2015-07-13 03:53:29 +02:00
parent fd873465af
commit 6e420bcdbb
2 changed files with 0 additions and 16 deletions

View File

@ -2121,21 +2121,6 @@ gimp_image_set_save_a_copy_file (GimpImage *image,
}
}
gchar *
gimp_image_get_filename (const GimpImage *image)
{
GFile *file;
g_return_val_if_fail (GIMP_IS_IMAGE (image), NULL);
file = gimp_image_get_file (image);
if (! file)
return NULL;
return g_file_get_path (file);
}
static gchar *
gimp_image_format_display_uri (GimpImage *image,
gboolean basename)

View File

@ -151,7 +151,6 @@ void gimp_image_set_save_a_copy_file (GimpImage *image,
void gimp_image_set_filename (GimpImage *image,
const gchar *filename);
gchar * gimp_image_get_filename (const GimpImage *image);
const gchar * gimp_image_get_display_name (GimpImage *image);
const gchar * gimp_image_get_display_path (GimpImage *image);