aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-05-26 12:59:00 +0800
committerPeter Williams <peterw@src.gnome.org>2001-05-26 12:59:00 +0800
commita58c7b50e9a4b2d03763eff154b47a47e3398d11 (patch)
tree213b3dde4689c5aa95a2ba7d14e7a66ba90de62d /shell
parentc6c02db6022e3a702c096d3f7cbc34af8cf68342 (diff)
downloadgsoc2013-evolution-a58c7b50e9a4b2d03763eff154b47a47e3398d11.tar
gsoc2013-evolution-a58c7b50e9a4b2d03763eff154b47a47e3398d11.tar.gz
gsoc2013-evolution-a58c7b50e9a4b2d03763eff154b47a47e3398d11.tar.bz2
gsoc2013-evolution-a58c7b50e9a4b2d03763eff154b47a47e3398d11.tar.lz
gsoc2013-evolution-a58c7b50e9a4b2d03763eff154b47a47e3398d11.tar.xz
gsoc2013-evolution-a58c7b50e9a4b2d03763eff154b47a47e3398d11.tar.zst
gsoc2013-evolution-a58c7b50e9a4b2d03763eff154b47a47e3398d11.zip
Reference libeshell.la instead of libeshell.a.
2001-05-25 Peter Williams <peterw@ximian.com> * gui/component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * gui/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Change libeshell from a noinst_LIBRARIES to a lib_LTLIBRARIES. Install its headers in $includedir/evolution/shell. * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string in libeutil. This way libeshell doesn't have a missing symbol when programs that don't have libeutil link to it. (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g. svn path=/trunk/; revision=10007
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog11
-rw-r--r--shell/Makefile.am36
-rw-r--r--shell/evolution-storage.c15
3 files changed, 43 insertions, 19 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 607a33b44b..dfb7c4ace8 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,14 @@
+2001-05-25 Peter Williams <peterw@ximian.com>
+
+ * Makefile.am: Change libeshell from a noinst_LIBRARIES to
+ a lib_LTLIBRARIES. Install its headers in
+ $includedir/evolution/shell.
+
+ * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string
+ in libeutil. This way libeshell doesn't have a missing symbol when programs
+ that don't have libeutil link to it.
+ (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g.
+
2001-05-25 jacob berkman <jacob@ximian.com>
* e-shell-view.c (setup_widgets): place the shortcut bar in a
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 8cd1c9c3ef..2b9ba7a20e 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -47,33 +47,39 @@ idl_DATA = $(IDLS)
# Shell library
-noinst_LIBRARIES = \
- libeshell.a
+lib_LTLIBRARIES = \
+ libeshell.la
-libeshell_a_SOURCES = \
+eshellincludedir = $(includedir)/evolution/shell
+
+eshellinclude_HEADERS = \
+ Evolution.h \
+ e-folder-tree.h \
+ evolution-local-storage.h \
+ evolution-session.h \
+ evolution-shell-client.h \
+ evolution-shell-component-client.h \
+ evolution-shell-component.h \
+ evolution-shell-component-dnd.h \
+ evolution-shell-view.h \
+ evolution-storage-listener.h \
+ evolution-storage-set-view-listener.h \
+ evolution-storage.h
+
+libeshell_la_SOURCES = \
$(IDL_GENERATED) \
e-folder-tree.c \
- e-folder-tree.h \
evolution-local-storage.c \
- evolution-local-storage.h \
evolution-session.c \
- evolution-session.h \
evolution-shell-client.c \
- evolution-shell-client.h \
evolution-shell-component-client.c \
- evolution-shell-component-client.h \
evolution-shell-component.c \
- evolution-shell-component.h \
evolution-shell-component-dnd.c \
- evolution-shell-component-dnd.h \
evolution-shell-view.c \
- evolution-shell-view.h \
evolution-storage-listener.c \
- evolution-storage-listener.h \
evolution-storage-set-view-listener.c \
- evolution-storage-set-view-listener.h \
evolution-storage.c \
- evolution-storage.h
+ $(eshellinclude_HEADERS)
# Evolution executable
@@ -138,7 +144,7 @@ evolution_SOURCES = \
main.c
evolution_LDADD = \
- libeshell.a \
+ libeshell.la \
importer/libevolution-importer.la \
$(top_builddir)/widgets/misc/libemiscwidgets.a \
$(top_builddir)/e-util/libeutil.la \
diff --git a/shell/evolution-storage.c b/shell/evolution-storage.c
index 20b4372cd5..e965c71a2a 100644
--- a/shell/evolution-storage.c
+++ b/shell/evolution-storage.c
@@ -33,8 +33,6 @@
#include "Evolution.h"
-#include "e-util/e-corba-utils.h"
-
#include "e-folder-tree.h"
#include "evolution-storage.h"
@@ -75,6 +73,15 @@ static guint signals[LAST_SIGNAL] = { 0 };
/* Utility functions. */
+static const CORBA_char *
+safe_corba_string (const char *s)
+{
+ if (s == NULL)
+ return (CORBA_char *) "";
+
+ return s;
+}
+
static void
list_through_listener_foreach (EFolderTree *tree,
const char *path,
@@ -611,8 +618,8 @@ evolution_storage_register (EvolutionStorage *evolution_storage,
corba_storage_listener = GNOME_Evolution_StorageRegistry_addStorage (corba_storage_registry,
corba_storage,
priv->name,
- e_safe_corba_string (priv->toplevel_node_uri),
- e_safe_corba_string (priv->toplevel_node_type),
+ safe_corba_string (priv->toplevel_node_uri),
+ safe_corba_string (priv->toplevel_node_type),
&ev);
if (ev._major == CORBA_NO_EXCEPTION) {