mirror of https://github.com/GNOME/gimp.git
plug-ins: image_id used rather than image in print
In 2.10, print_temp_proc_name () took in the image id. When it was updated to take in GimpImage, it still assumed the g_strdup_printf parameter was an integer. This is fixed by calling `gimp_image_get_id ()` on the image parameter.
This commit is contained in:
parent
1f1533b230
commit
5526bebf3c
|
@ -518,7 +518,8 @@ print_temp_proc_run (GimpProcedure *procedure,
|
|||
static gchar *
|
||||
print_temp_proc_name (GimpImage *image)
|
||||
{
|
||||
return g_strdup_printf (PRINT_TEMP_PROC_NAME "-%d", image);
|
||||
return g_strdup_printf (PRINT_TEMP_PROC_NAME "-%d",
|
||||
gimp_image_get_id (image));
|
||||
}
|
||||
|
||||
static gchar *
|
||||
|
|
Loading…
Reference in New Issue