gtranslator r3822 - in trunk: . src
- From: psanxiao svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3822 - in trunk: . src
- Date: Sat, 18 Oct 2008 14:02:29 +0000 (UTC)
Author: psanxiao
Date: Sat Oct 18 14:02:29 2008
New Revision: 3822
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3822&view=rev
Log:
Patch by Yuriy Penkin
* src/profile.c:
(gtranslator_profile_save_profile_in_xml):
Removed useless code. (Fixes #553450)
Modified:
trunk/ChangeLog
trunk/src/profile.c
Modified: trunk/src/profile.c
==============================================================================
--- trunk/src/profile.c (original)
+++ trunk/src/profile.c Sat Oct 18 14:02:29 2008
@@ -341,7 +341,7 @@
void gtranslator_profile_save_profiles_in_xml (gchar *filename) {
- xmlNodePtr root, child, active;
+ xmlNodePtr root;
xmlDocPtr doc;
GList *profiles_list, *l;
GtranslatorProfile *active_profile;
@@ -352,8 +352,6 @@
active_profile = gtranslator_application_get_active_profile (GTR_APP);
root = xmlDocGetRootElement (doc);
- child = root->xmlChildrenNode;
- active = child->xmlChildrenNode;
xmlNewChild (root, NULL, "active", gtranslator_profile_get_name (active_profile));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]