aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Loper <mloper@src.gnome.org>2000-06-29 23:31:01 +0800
committerMatthew Loper <mloper@src.gnome.org>2000-06-29 23:31:01 +0800
commitd2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc (patch)
treecb937b1a5f08b251c49cd04554f288c66abdbc04
parent6896f2152a3c962d5b7cc11f6c2ac2e454b15ca6 (diff)
downloadgsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.gz
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.tar.zst
gsoc2013-evolution-d2875d9e05b5d20e7f8a5d5300dfc9e83de7b7bc.zip
Fixes brought to us by Purify
svn path=/trunk/; revision=3792
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/mail-config.c2
-rw-r--r--mail/message-list.c3
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell.c4
5 files changed, 21 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 021d80affd..045e1c5873 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,12 @@
+2000-06-29 Peter Williams <peterw@helixcode.com>
+
+ * message-list.c (message_list_init): Set the dnd_code of the
+ ETableHeader to something so that Solaris sprintf doesn't die
+ on a NULL string.
+
+ * mail-config.c (providers_config_new): Check for a null "transport"
+ string (not all OS' handle NULL strings well *cough* Solaris)
+
2000-06-28 Dan Winship <danw@helixcode.com>
* mail-format.c (mail_generate_forward): add default subjects
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 8b1f89bf5f..4adec9a78b 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -1998,7 +1998,7 @@ providers_config_new (void)
/* Set the data in the transports page */
interior_notebook = gtk_object_get_data (GTK_OBJECT (transport_page_vbox), "notebook");
page = gtk_notebook_get_current_page (GTK_NOTEBOOK (interior_notebook));
- if (!strncasecmp(transport, "Sendmail", 8))
+ if (transport != NULL && !strncasecmp(transport, "Sendmail", 8))
page = 1;
else
page = 0;
diff --git a/mail/message-list.c b/mail/message-list.c
index f429583312..9a3eba31e6 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -754,6 +754,9 @@ message_list_init (GtkObject *object)
"drawfocus", FALSE,
"drawgrid", FALSE,
NULL);
+ gtk_object_set(GTK_OBJECT(E_TABLE(message_list->etable)->header_item),
+ "dnd_code", "(unset)",
+ NULL);
gtk_signal_connect (GTK_OBJECT (message_list->etable), "realize",
GTK_SIGNAL_FUNC (select_row), message_list);
diff --git a/shell/ChangeLog b/shell/ChangeLog
index b194b2d95e..904b7e342a 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-29 Peter Williams <peter@helixcode.com>
+
+ * e-shell.c (e_shell_construct): Ref the various E-things that
+ we create to go with our unrefs in the destructor.
+
2000-06-29 Ettore Perazzoli <ettore@helixcode.com>
* e-shell-view.c (e_shell_view_construct): Don't ref the shell.
diff --git a/shell/e-shell.c b/shell/e-shell.c
index 81ebc368bd..25a7d5903a 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -281,6 +281,7 @@ setup_components (EShell *shell)
priv = shell->priv;
priv->component_registry = e_component_registry_new (shell);
+ gtk_object_ref (GTK_OBJECT (priv->component_registry));
/* FIXME: Hardcoded for now. */
@@ -451,8 +452,9 @@ e_shell_construct (EShell *shell,
priv->local_directory = g_strdup (local_directory);
priv->folder_type_registry = e_folder_type_registry_new ();
+ gtk_object_ref (GTK_OBJECT (priv->folder_type_registry ));
priv->storage_set = e_storage_set_new (shell->priv->folder_type_registry);
-
+ gtk_object_ref (GTK_OBJECT (priv->storage_set ));
gtk_object_ref (GTK_OBJECT (gconf_client));
priv->gconf_client = gconf_client;