gtranslator r3715 - trunk/src



Author: icq
Date: Mon Sep 22 09:44:32 2008
New Revision: 3715
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3715&view=rev

Log:
2008-08-22  Ignacio Casal Quinteiro  <nacho resa gmail com>

	* msg.c (gtranslator_msg_new):
	Fixed bug added in the previous commit.

Modified:
   trunk/src/ChangeLog
   trunk/src/msg.c

Modified: trunk/src/msg.c
==============================================================================
--- trunk/src/msg.c	(original)
+++ trunk/src/msg.c	Mon Sep 22 09:44:32 2008
@@ -159,8 +159,10 @@
 {
 	GtranslatorMsg *msg;
 	
-	msg = g_object_new (GTR_TYPE_MSG, "gettext-iter", iter,
-			    "gettext-msg", message, NULL);
+	msg = g_object_new (GTR_TYPE_MSG, NULL);
+	
+	gtranslator_msg_set_iterator (msg, iter);
+	gtranslator_msg_set_message (msg, message);
 	
 	return msg;
 }



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