aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-11-07 08:21:41 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-11-07 08:21:41 +0800
commit6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15 (patch)
treeab619beda35cc722238caf9eadef03360b273de5
parent381e202936f14242b26b06693c338b42423071e5 (diff)
downloadgsoc2013-evolution-6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15.tar
gsoc2013-evolution-6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15.tar.gz
gsoc2013-evolution-6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15.tar.bz2
gsoc2013-evolution-6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15.tar.lz
gsoc2013-evolution-6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15.tar.xz
gsoc2013-evolution-6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15.tar.zst
gsoc2013-evolution-6ccc87047c88e6ab3d6cfa12a876ea0cbf216c15.zip
Fixed a couple of warnings.
svn path=/trunk/; revision=6470
-rw-r--r--shell/ChangeLog6
-rw-r--r--shell/evolution-shell-view.c10
2 files changed, 11 insertions, 5 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 427567acf5..99371d4fd2 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,11 @@
2000-11-06 Ettore Perazzoli <ettore@helixcode.com>
+ * evolution-shell-view.c (impl_ShellView_change_current_view):
+ Constified @uri.
+ (impl_ShellView_set_title): Constified @title.
+
+2000-11-06 Ettore Perazzoli <ettore@helixcode.com>
+
* e-shell.c: New member `crash_type_names' in `EShellPrivate'.
(init): Init to NULL.
(destroy): Free.
diff --git a/shell/evolution-shell-view.c b/shell/evolution-shell-view.c
index 46a59030d7..c9fbb74ba8 100644
--- a/shell/evolution-shell-view.c
+++ b/shell/evolution-shell-view.c
@@ -100,7 +100,7 @@ impl_ShellView_unset_message (PortableServer_Servant servant,
static void
impl_ShellView_change_current_view (PortableServer_Servant servant,
- CORBA_char *uri,
+ const CORBA_char *uri,
CORBA_Environment *ev)
{
BonoboObject *bonobo_object;
@@ -112,7 +112,7 @@ impl_ShellView_change_current_view (PortableServer_Servant servant,
static void
impl_ShellView_set_title (PortableServer_Servant servant,
- CORBA_char *title,
+ const CORBA_char *title,
CORBA_Environment *ev)
{
BonoboObject *bonobo_object;
@@ -152,10 +152,10 @@ corba_class_init (void)
base_epv->default_POA = NULL;
epv = g_new0 (POA_Evolution_ShellView__epv, 1);
- epv->set_message = impl_ShellView_set_message;
- epv->unset_message = impl_ShellView_unset_message;
+ epv->set_message = impl_ShellView_set_message;
+ epv->unset_message = impl_ShellView_unset_message;
epv->change_current_view = impl_ShellView_change_current_view;
- epv->set_title = impl_ShellView_set_title;
+ epv->set_title = impl_ShellView_set_title;
vepv = &ShellView_vepv;
vepv->_base_epv = base_epv;