diff --git a/ChangeLog b/ChangeLog index 85870b29ac..a7898e7f26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-11-12 Sven Neumann + + * app/plug-in/plug-in-icc-profile.c: use the GIMP_PLUG_IN_ERROR + domain. + 2008-11-12 Sven Neumann * app/pdb/gimppdberror.h diff --git a/app/plug-in/plug-in-icc-profile.c b/app/plug-in/plug-in-icc-profile.c index fee57e1cf6..2fd24dbc6a 100644 --- a/app/plug-in/plug-in-icc-profile.c +++ b/app/plug-in/plug-in-icc-profile.c @@ -184,7 +184,7 @@ plug_in_icc_profile_info (GimpImage *image, default: if (error && *error == NULL) - g_set_error (error, 0, 0, + g_set_error (error, GIMP_PLUG_IN_ERROR, GIMP_PLUG_IN_FAILED, _("Error running '%s'"), ICC_PROFILE_INFO_PROC); break; } @@ -194,7 +194,7 @@ plug_in_icc_profile_info (GimpImage *image, return (status == GIMP_PDB_SUCCESS); } - g_set_error (error, 0, 0, + g_set_error (error, GIMP_PLUG_IN_ERROR, GIMP_PLUG_IN_FAILED, _("Plug-In missing (%s)"), ICC_PROFILE_INFO_PROC); return FALSE; @@ -243,7 +243,7 @@ plug_in_icc_profile_file_info (Gimp *gimp, default: if (error && *error == NULL) - g_set_error (error, 0, 0, + g_set_error (error, GIMP_PLUG_IN_ERROR, GIMP_PLUG_IN_FAILED, _("Error running '%s'"), ICC_PROFILE_FILE_INFO_PROC); break; } @@ -253,7 +253,7 @@ plug_in_icc_profile_file_info (Gimp *gimp, return (status == GIMP_PDB_SUCCESS); } - g_set_error (error, 0, 0, + g_set_error (error, GIMP_PLUG_IN_ERROR, GIMP_PLUG_IN_FAILED, _("Plug-In missing (%s)"), ICC_PROFILE_FILE_INFO_PROC); return FALSE;