aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-03-06 08:27:32 +0800
committerChris Lahey <clahey@src.gnome.org>2000-03-06 08:27:32 +0800
commitf21c9935ef2b5e4cec61696b9e0d445a729766cc (patch)
treecee6bf9ac7b5af4c2846c8f8766ef9ae10d137d7
parent41daf5fcbfcd5abe2000fa2a6fab8e9ba97c1a21 (diff)
downloadgsoc2013-evolution-f21c9935ef2b5e4cec61696b9e0d445a729766cc.tar.gz
gsoc2013-evolution-f21c9935ef2b5e4cec61696b9e0d445a729766cc.tar.zst
gsoc2013-evolution-f21c9935ef2b5e4cec61696b9e0d445a729766cc.zip
Fixed e_xml_set_integer_prop_by_name.
2000-03-05 Christopher James Lahey <clahey@helixcode.com> * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name. svn path=/trunk/; revision=2066
-rw-r--r--ChangeLog4
-rw-r--r--e-util/e-xml-utils.c6
-rw-r--r--e-util/e-xml-utils.c-568266
3 files changed, 10 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 275e1e38df..bf77451907 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-03-05 Christopher James Lahey <clahey@helixcode.com>
+
+ * e-util/e-xml-utils.c: Fixed e_xml_set_integer_prop_by_name.
+
2000-03-05 Matt Loper <matt.loper@splashtech.com>
* tests/ui-tests/message-browser.c: Commenting added.
diff --git a/e-util/e-xml-utils.c b/e-util/e-xml-utils.c
index 7eb54105d1..db9cfafb92 100644
--- a/e-util/e-xml-utils.c
+++ b/e-util/e-xml-utils.c
@@ -48,7 +48,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name)
void
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
{
- xmlChar *value = g_strdup_printf("%d", value);
- xmlSetProp(parent, prop_name, value);
- g_free (value);
+ xmlChar *valuestr = g_strdup_printf("%d", value);
+ xmlSetProp(parent, prop_name, valuestr);
+ g_free (valuestr);
}
diff --git a/e-util/e-xml-utils.c-56826 b/e-util/e-xml-utils.c-56826
index 7eb54105d1..db9cfafb92 100644
--- a/e-util/e-xml-utils.c-56826
+++ b/e-util/e-xml-utils.c-56826
@@ -48,7 +48,7 @@ e_xml_get_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name)
void
e_xml_set_integer_prop_by_name(xmlNode *parent, xmlChar *prop_name, int value)
{
- xmlChar *value = g_strdup_printf("%d", value);
- xmlSetProp(parent, prop_name, value);
- g_free (value);
+ xmlChar *valuestr = g_strdup_printf("%d", value);
+ xmlSetProp(parent, prop_name, valuestr);
+ g_free (valuestr);
}
0 17:27:49 +0800'>2001-11-202-607/+431 * Updated German translation.Christian Meyer2001-11-202-361/+213 * Clear the password in bonobo-conf as well. Fixes ximian 14893.Dan Winship2001-11-202-18/+36 * If we come back online, switch the Send accelerator back to the SendJeffrey Stedfast2001-11-202-0/+14 * Added a check to see if the operation has been cancelled. (stream_write):Jeffrey Stedfast2001-11-202-0/+16 * Updates for compliance with rfc2231Jeffrey Stedfast2001-11-202-15/+48 * *** empty log message ***Wang Jian2001-11-192-351/+835 * *** empty log message ***Wang Jian2001-11-191-351/+49 * Updated Greek translationSimos Xenitellis2001-11-192-382/+281 * Updated Greek translationSimos Xenitellis2001-11-192-2312/+2054 * *** empty log message ***Wang Jian2001-11-172-3126/+3536 * s/gnome_font_get_width_string/gnome_font_get_width_utf8/Chyla Zbigniew2001-11-173-24/+34 * Abort if body == NULL.Jeffrey Stedfast2001-11-172-1/+4 * New mime filter to convert plain text to html.Jeffrey Stedfast2001-11-174-0/+602 * see the ChangeLog, I forgetJeffrey Stedfast2001-11-173-6/+15 * If we get a BYE response, call camel_service_disconnect() and set anJeffrey Stedfast2001-11-172-13/+29 * Save hide state. (message_list_hide_uids): Save hide state.Jeffrey Stedfast2001-11-173-6/+25 * Undo a really weird mangling of part of the ChangeLog from last AugustDan Winship2001-11-161-42/+42 * Allow drag & drop for vcards.Jeffrey Stedfast2001-11-162-0/+21 * Updated russian translation.Valek Frob2001-11-162-234/+205 * Sync for 0.99.2.Ettore Perazzoli2001-11-1531-13055/+14420 * check against LDAP_SUCCESS as the return value, not -1.Chris Toshok2001-11-152-7/+16 * Updated.Ettore Perazzoli2001-11-153-36/+20 * Substituted gnome_font_get_width_string() with gnome_font_get_width_utf8()Damon Chaplin2001-11-152-8/+14 * Redone with the bug #s from Bugzilla.Ettore Perazzoli2001-11-152-20/+79 * Calendar/tasks NEWS.Federico Mena Quintero2001-11-152-0/+39 * popup failure dialog if we cannot get a valid editor_engine.Larry Ewing2001-11-152-4/+36 * Bumped version number to 0.18.1.Christopher James Lahey2001-11-151-1/+8 * Convert the buffer to UTF8. (calendar_model_value_to_string): Do notFederico Mena Quintero2001-11-152-2/+10 * #ifdef'ed out the LOCATION field for now, since it wasn't supportedDamon Chaplin2001-11-153-0/+16 * Ungrab and set maybe_in_grab to FALSE before sending the double clickChristopher James Lahey2001-11-151-0/+17 * s/_/U_/ (filter_rule_set_name requires UTF-8 string)Chyla Zbigniew2001-11-152-4/+10 * don't abort when e_table_selected_count() returns odd values. There seemsDamon Chaplin2001-11-152-4/+14 * Add more contributors to the box.Ettore Perazzoli2001-11-152-0/+12 * From a patch by Yukihiro Nakai <ynakai@redhat.com>.Christopher James Lahey2001-11-151-0/+30 * Handle the case where page up or page down goes off the end of the tableChristopher James Lahey2001-11-152-0/+18 * (committed to CVS by Damon) Fixes bug #15137.Federico Mena Quintero2001-11-153-13/+144 * make timezone default to "UTC" rather than "".Damon Chaplin2001-11-152-1/+6 * Instead of doing pthread_exit() after redirecting the SEGV, try to lock aDan Winship2001-11-152-1/+17 * Point to index.html instead of `evolution.sgml'.Ettore Perazzoli2001-11-153-4/+20 * remove silly debug warningJP Rosevear2001-11-152-2/+5 * Call e_passwords_remember_password() for account passwords if the user setJeffrey Stedfast2001-11-152-8/+23 * restore cflags and ldflags properlyJP Rosevear2001-11-142-2/+6 * Remove `-lc'. It makes the mailer do strange things when it callsEttore Perazzoli2001-11-142-1/+7 * Updated Swedish translation.Christian Rose2001-11-142-273/+289 * Don't choke! Spell celsius correctly Don't choke!Iain Holmes2001-11-142-1/+5 * make the timezone default to UTC. Fixes bug #14362.Damon Chaplin2001-11-145-25/+36 * make the timezone default to UTC.Damon Chaplin2001-11-142-1/+10 * initialize the builtin timezones, to ensure that the TZID of the UTC zoneDamon Chaplin2001-11-142-0/+11 * If we have no source string, then use undefined, which should always32001-11-142-3/+13 * only insert non-0 pids into the pid map (e_pilot_map_insert): remove andJP Rosevear2001-11-142-26/+69 * Explicitly add -lcJP Rosevear2001-11-142-1/+5 * Updated russian translation.Valek Frob2001-11-132-1485/+903 * only change the day, month and year for the start date, for not screwingRodrigo Moya2001-11-133-61/+81 * Updated Slovak translation.Stanislav Visnovsky2001-11-132-227/+241 * Updated Hungarian translation.Andras Timar2001-11-132-79/+113 * Updated Polish translation by GNOME PL Team <translators@gnome.pl>Chyla Zbigniew2001-11-132-3466/+3474 * Check for exceptions.Iain Holmes2001-11-132-1/+57 * Force the user to name the filter.Jeffrey Stedfast2001-11-133-9/+35 * [ Fixes Ximian bug #14843 ] don't crash if a subexpression wasn't filledChris Toshok2001-11-132-8/+19 * Add a NULL check for rule->name. (mail_vfolder_add_uri): Same here.Jeffrey Stedfast2001-11-132-6/+20 * Added a g_return_val_if_fail for folder_name != NULL.Jeffrey Stedfast2001-11-132-1/+8 * save the ldflags properlyJP Rosevear2001-11-132-2/+6 * Release callback's reference to EContactListEditor. (list_modified_cb):Jon Trowbridge2001-11-132-9/+33 * If our call to e_categories_new returns NULL, put up an error dialog andJon Trowbridge2001-11-132-0/+14 * The last argument to the bonobo_config_get_XXX_with_default() is aFederico Mena Quintero2001-11-122-14/+15 * recurrence expansion callback for free/busy (create_user_free_busy):JP Rosevear2001-11-122-18/+51 * new protosJP Rosevear2001-11-12