gtranslator r3942 - trunk/src



Author: psanxiao
Date: Sat Feb 14 14:25:00 2009
New Revision: 3942
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3942&view=rev

Log:
Fixes last commit.

Modified:
   trunk/src/header.c

Modified: trunk/src/header.c
==============================================================================
--- trunk/src/header.c	(original)
+++ trunk/src/header.c	Sat Feb 14 14:25:00 2009
@@ -425,6 +425,7 @@
 	profile = gtranslator_application_get_active_profile (GTR_APP);
 
 	g_return_val_if_fail (GTR_IS_HEADER (header), -1);
+	g_return_val_if_fail (profile, -1);
 	
 	/*
 	 * If the priv->plural_forms exists that means that there is a plural



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