diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-11-08 02:37:30 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-11-08 02:37:30 +0800 |
commit | be043c8ce6817c80eb2c3909a539d7efcb28dea7 (patch) | |
tree | 96cb458d520c6eca0faad4180362940bc4b4cd26 /camel/camel-service.c | |
parent | 3045084721851c09ffc5e18551eaa241d605e3e9 (diff) | |
download | gsoc2013-evolution-be043c8ce6817c80eb2c3909a539d7efcb28dea7.tar gsoc2013-evolution-be043c8ce6817c80eb2c3909a539d7efcb28dea7.tar.gz gsoc2013-evolution-be043c8ce6817c80eb2c3909a539d7efcb28dea7.tar.bz2 gsoc2013-evolution-be043c8ce6817c80eb2c3909a539d7efcb28dea7.tar.lz gsoc2013-evolution-be043c8ce6817c80eb2c3909a539d7efcb28dea7.tar.xz gsoc2013-evolution-be043c8ce6817c80eb2c3909a539d7efcb28dea7.tar.zst gsoc2013-evolution-be043c8ce6817c80eb2c3909a539d7efcb28dea7.zip |
Fix the default implementation for CamelService::get_name() so that it
returns a malloced string instead of a static one. (A static one
breaks the semantics of the method.)
svn path=/trunk/; revision=6483
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r-- | camel/camel-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c index 15702db42f..ee2a5b5431 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -287,7 +287,7 @@ get_name (CamelService *service, gboolean brief) { g_warning ("CamelService::get_name not implemented for `%s'", camel_type_to_name (CAMEL_OBJECT_GET_TYPE (service))); - return "???"; + return g_strdup ("???"); } /** |