mirror of https://github.com/GNOME/gimp.git
app: remove gimp_image_get_filename()
This commit is contained in:
parent
fd873465af
commit
6e420bcdbb
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue