aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-05-07 23:09:40 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-05-07 23:09:40 +0800
commitf20ed7f2c6c5e7d67164bb94fad2623f014ab03a (patch)
tree7375704b475d9fe50008d9f267ee7f2fc230ecae /e-util
parent4655d888677e71962722ad86f255a27386e1e621 (diff)
downloadgsoc2013-evolution-f20ed7f2c6c5e7d67164bb94fad2623f014ab03a.tar.gz
gsoc2013-evolution-f20ed7f2c6c5e7d67164bb94fad2623f014ab03a.tar.zst
gsoc2013-evolution-f20ed7f2c6c5e7d67164bb94fad2623f014ab03a.zip
New.
* e-corba-utils.c (e_safe_corba_string_dup): New. svn path=/trunk/; revision=16702
Diffstat (limited to 'e-util')
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-corba-utils.c6
-rw-r--r--e-util/e-corba-utils.h3
3 files changed, 12 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index e6c3ddb2b8..842e78b281 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,7 @@
+2002-05-07 Ettore Perazzoli <ettore@ximian.com>
+
+ * e-corba-utils.c (e_safe_corba_string_dup): New.
+
2002-05-06 Not Zed <NotZed@Ximian.com>
* e-msgport.c (e_thread_destroy): Destroy our mutex too.
diff --git a/e-util/e-corba-utils.c b/e-util/e-corba-utils.c
index 01aec1f6df..b92b247656 100644
--- a/e-util/e-corba-utils.c
+++ b/e-util/e-corba-utils.c
@@ -34,3 +34,9 @@ e_safe_corba_string (const char *s)
return s;
}
+
+CORBA_char *
+e_safe_corba_string_dup (const char *s)
+{
+ return CORBA_string_dup (e_safe_corba_string (s));
+}
diff --git a/e-util/e-corba-utils.h b/e-util/e-corba-utils.h
index 582e3da6c1..32cf1df0ee 100644
--- a/e-util/e-corba-utils.h
+++ b/e-util/e-corba-utils.h
@@ -24,6 +24,7 @@
#include <orb/orbit.h>
-const CORBA_char *e_safe_corba_string (const char *s);
+const CORBA_char *e_safe_corba_string (const char *s);
+CORBA_char *e_safe_corba_string_dup (const char *s);
#endif