Commit 20197567 authored by Michael Natterer's avatar Michael Natterer 😴

app: add the chosen GFile to GimpColorProfileCallback

parent 6464b47b
......@@ -81,14 +81,16 @@
static void image_convert_rgb_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *profile,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data);
static void image_convert_gray_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *profile,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data);
......@@ -114,14 +116,16 @@ static void image_convert_precision_callback (GtkWidget *dialog,
static void image_profile_assign_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *profile,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data);
static void image_profile_convert_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *profile,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data);
......@@ -996,6 +1000,7 @@ static void
image_convert_rgb_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data)
......@@ -1033,6 +1038,7 @@ static void
image_convert_gray_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data)
......@@ -1182,6 +1188,7 @@ static void
image_profile_assign_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data)
......@@ -1221,6 +1228,7 @@ static void
image_profile_convert_callback (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data)
......
......@@ -401,6 +401,7 @@ color_profile_dialog_response (GtkWidget *dialog,
private->callback (dialog,
private->image,
profile,
file,
private->intent,
private->bpc,
private->user_data);
......
......@@ -34,6 +34,7 @@ typedef enum
typedef void (* GimpColorProfileCallback) (GtkWidget *dialog,
GimpImage *image,
GimpColorProfile *new_profile,
GFile *new_file,
GimpColorRenderingIntent intent,
gboolean bpc,
gpointer user_data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment