gimp r27627 - in trunk: . app/plug-in



Author: neo
Date: Wed Nov 12 10:25:43 2008
New Revision: 27627
URL: http://svn.gnome.org/viewvc/gimp?rev=27627&view=rev

Log:
2008-11-12  Sven Neumann  <sven gimp org>

	* app/plug-in/plug-in-icc-profile.c: use the GIMP_PLUG_IN_ERROR
	domain.



Modified:
   trunk/ChangeLog
   trunk/app/plug-in/plug-in-icc-profile.c

Modified: trunk/app/plug-in/plug-in-icc-profile.c
==============================================================================
--- trunk/app/plug-in/plug-in-icc-profile.c	(original)
+++ trunk/app/plug-in/plug-in-icc-profile.c	Wed Nov 12 10:25:43 2008
@@ -184,7 +184,7 @@
 
         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 @@
       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 @@
 
         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 @@
       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;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]