aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-corba-utils.c
blob: 2638d20f4fbf8f030183918c104fe12862515214 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* e-html-utils.c
*
 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
 * Author: Ettore Perazzoli <ettore@ximian.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of version 2 of the GNU General Public
 * License as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.
 */

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

#include "e-corba-utils.h"


const CORBA_char *
e_safe_corba_string (const char *s)
{
    if (s == NULL)
        return (CORBA_char *) "";

    return s;
}

CORBA_char *
e_safe_corba_string_dup (const char *s)
{
    return CORBA_string_dup (e_safe_corba_string (s));
}
an class='deletions'>-0/+1 * Remove no longer needed patch (fixed upstream).danfe2013-06-091-10/+0 * Update to version 3.6.0; rephrase option descriptions while here.danfe2013-06-083-5/+9 * Update to version 3.5.0.danfe2013-05-162-4/+9 * - Update to version 3.4.1, which adds the support of the Vista special XLdanfe2013-03-112-24/+16 * Mark as broken on powerpc and sparc64 (and, presumably, ia64).linimon2012-09-041-1/+7 * - Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4miwi2012-06-061-2/+1 * - update png to 1.5.10dinoex2012-06-011-0/+1 * Update to version 3.4.0danfe2012-05-113-4/+5 * Augment port description.danfe2011-10-201-2/+5 * Remove now longer applicable warning and enable graph option by default asdanfe2011-08-111-2/+3 * -remove MD5ohauer2011-07-031-1/+0 * - Update to version 3.3.1, now with Qt4 GUI instead of Gtk+2!danfe2010-06-225-76/+40 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1 * - Unbreak on big-endian architecturesdanfe2008-09-171-2/+17 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * - Kill superfluous line (debug leftover)danfe2008-03-161-4/+2